- ApiPractical example – How to add a new Block and Module
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_module::delete
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
Hello Koznazna,
Please replace the above code, that I gave you this morning, with the below code in your Theme panel->Custom CSS area.
.td-module-meta-info {
display: inline-flex;
}
.td-post-source-via {
padding-left:10px;
}
The result you should see here -> http://screencast.com/t/1VtFDVVwOKux
Hope this helps and let us know how it goes!
Thank you for the message!
Thanks Catalin
The code you gave did not work but we figured this out by using CSS.
You should offer a few basic Page Template which are present in any Premium Theme.
TBH i am actually shocked at the fact that you don’t have this in your Premium Theme.
check here: https://www.dropbox.com/s/u14zai5iyesjcjg/Screenshot%202016-01-14%2011.48.03.png?dl=0
It’s the little things that make a big difference after all.
This allows for more flexible working.
All the best
Corrado Izzo
Hello!
I am going to make a new newspaper website but I need a function that I don’t find right now at this theme: Flexibility with the article thumbnails.
What I need is that the journalist that is writing the article has the chance of chose weather the article has a thumbnail or not. If not, the thumbnail place should not exist on the block.
Is there any way to achieve this? See here in this Swedish newspaper: http://www.dn.se/ Some news on the feed don’t have a thumb. Those news’ headline take the whole width of the container.
How can I achieve this? This is really important!!
Amazing theme – by far very flexible and very helpful support!!
I would like to place a video into the appropriate location using Style 11; however, it is not a link to youtube, vimeo, or dailymotion. I have a shortcode for the video I would like to use. Is there a way to place my video shortcode in the same location as Style 11?
Thanks,
Ajay
Hi
To change the background color for the title try this css: http://screencast.com/t/OY6pmQ1gvf
.wpb_gallery .wpb_wrapper .wpb_heading{
background-color: #AD4E4E;
}
The post slider itČ›s a Visual Composer built in element and excerpt for it aren’t controlled by the theme. You will have to edit the plugin’s files in order to change that. For the line-height try this css:
.flex-caption p{
font-weight: 400!important;
}
Thanks!
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/AOxrpNwKB
.wpb_gallery_slides .flex-caption .post-title{
font-size: 23px;
line-height: 24px;
margin-top: 5px;
margin-bottom: 10px;
font-weight: 600;
}
.wpb_gallery .wpb_wrapper .wpb_heading {
font-size: 25px;
}
Let us know how it goes and provide more details if this is not what you mean!
Thanks!
I hope you guys will implement more options with CPT, this is really what would add the final touch to this wonderful theme.
you have done an AMAZING job with the theme, add CPT flexibility and it will be the BEST 🙂
Hello,
It can be done by editing the core files like so:
You need to edit every post template file you use. Every template has 2 files a loop.php and a single.php http://screencast.com/t/V8eaFkJyhaw. You need to remove the code for the category headers from the loop files: http://screencast.com/t/ICSY0coK7H and then add the code to the single.php files: http://screencast.com/t/i1hxTT2J
Then you can use this custom css for positioning:
.td-crumb-container{
display: inline-flex;
}
result: http://screencast.com/t/MYMxqNtuuECc
Thank you!
Hi Arafat,
The easiest way to achieve this is by using a plugin. Something like: https://wordpress.org/plugins/last-updated/screenshots/
We have not tested these plugins. Some of them might not work with our theme. Try a few of them out and see how they work.
The alternative involves coding:
Use this code http://pastebin.com/vCsS4CFf
And add it to the loop-single or single_template file corresponding to your post template: http://screencast.com/t/35I4CepLEU and replace the get_date code with the one above: http://screencast.com/t/THPFMM9E
Result: http://screencast.com/t/t7sLh9Vdt
You can read more about it here: http://wpcrux.com/wordpress-last-modified-date/
Also you can use the code below to make a style for your modification
.td-module-meta-info {
display:inline-flex;
}
.the-modified-date {
padding-left:5px;
padding-right:10px;
padding-top:2px;
}
.td-post-comments {
display:none!important;
}
The result you should see here: http://screencast.com/t/SiGBizjach0v .
Hope this helps and let us know how it goes!
Thank you!
Hey Paul. I think you have to try reading documentation from start. Any theme on themeforest requires and suggests reading its documentation. Thats a no-brainer, and thats a rule!
Newspaper theme is very advanced theme, very very much. It is mainly designed for news portal type websites, but it can easily be used for multipurpose websites, super flexibile.
You can easily buld any kind of website with it.
In my opinion this theme is the most complete and easiest theme available on themeforest.
You just have to read its documentation.
If you are not familiar with wordpress and its advanced use, then you should maybe hire someone to do things for you. That will save you time and money, time=money.
I couldn’t get the links to show up properly on the first post so here’s the post again:
Hi,
I’m trying to add custom classes to the wp_link_pages’ ANCHORS so I can have more flexibility with the styling.
Right now when the wp_link_pages is called the theme outputs the pagination as follows:
<div class="page-nav page-nav-post td-pb-padding-side clearfix"><a href="http://localhost/wordpress/demo-5-reasons-you-need-the-x-theme/">Previous</a><a href="http://localhost/wordpress/demo-5-reasons-you-need-the-x-theme/3/">Next</a></div>
All the docs I’ve found in relation to wp_link_pages add classes to the div element. However I need to add custom classes to the A element or previous and next such as:
<div class="page-nav page-nav-post td-pb-padding-side clearfix"><a class="newclass1" href="http://localhost/wordpress/demo-5-reasons-you-need-the-x-theme/">Previous</a><a class="newclass2" href="http://localhost/wordpress/demo-5-reasons-you-need-the-x-theme/3/">Next</a></div>
Can that be done?
Hi,
I’m trying to add custom classes to the wp_link_pages’ ANCHORS so I can have more flexibility with the styling.
Right now when the wp_link_pages is called the theme outputs the pagination as follows:
<div class="page-nav page-nav-post td-pb-padding-side clearfix">
Previous
Next
</div>
All the docs I’ve found in relation to wp_link_pages add classes to the div element. However I need to add custom classes to the A element such as:
<div class="page-nav page-nav-post td-pb-padding-side clearfix">
Previous
Next
</div>
Can that be done?
Hello,
Let me first explain what I have in mind:
1.Every category should have option to add header image (width of the td-category-header NO full page width).
2.Every post would then have that option too.
My concerns:to be responsive, not to be ruined by an update.
Important: I don’t want to have the same image on all of the categories. I can’t stress enough how important it is for me to have that kid of flexibility.
Could you be so kind to provide me with some code and manual have to achieve that.
Regards
Thanks, it was that missing comma. That’s worked now!
On a related note, is there a way to prioritise the order the categories appear in the meganav?
As a feature suggestion for future releases, I would like more flexibility to control what goes in the meganav, as I tend to customise my menus quite a lot but this is difficult if you want to use the meganav as well when it relies on the standard category/sub-category structure.
Thanks
Hello,
I’m serving my ads through DFP and I followed the instructions on how to setup other ads because I plan on having the ads served locations not set by the theme.
Only issue is I need to call the shortcode in the loop-single.php template file which I did like this:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_4"]');?>
I know it works for image ads because I have another custom spot with the ad being displayed but it doesn’t seem to work for non-adsense scripts. Below is the script I put in the custom ad settings of the theme panel.
<div id='single-bottom-custom-flex' class="td-pb-padding-side td-pb-border-top aligncenter">
<script type='text/javascript'>googletag.cmd.push(function() { googletag.display('single-bottom-custom-flex'); }); </script>
</div>
I can see the script in the source code yet the publisher console doesn’t recognize the unit. Hard coding the unit works but I need it to be done via theme panel’s custom ad. What’s preventing the custom ad from displaying the unit?
Hi,
A solution for this would be to manually set the parameters used by the render method – http://screencast.com/t/lZtb4rHl – or modify the method – http://screencast.com/t/cnYqozxlmk58
I’ve added your suggestion on our list, we’ll look for a method to add more flexibility to this area.
Thank you!
Hello flex202,
The option does not work because the theme was built to work with adsense. For other ads the documentation suggests you use specific classes for your custom ad. Please read this topic and use the div’s and classes provided to create your ad code. https://forum.tagdiv.com/using-other-ads/
Thank you!
Hi Guys,
Great fan of your work 🙂 I have bought both Newsmag and Newspaper themes to use on my websites. But few things/options which I really miss and am sure many publishers like me want them as well. So, here is a small list of features suggestion, which you guys can bring in future version of themes…
1. Many publishers like me have smartphone apps of their publication/website. So, please introduce a widget kind of thing for sidebar just like social counter widget which displays the logos of Apple App Store, Google Play Store, and Windows App Store.. through which we can notify and redirect our readers to respective app stores to download our mobile apps.
2. Please introduce auto load of previous or same category post on single post page. You can check Flex Mag theme to know what am talking about. They have given an option of auto loading posts below the single post using ajaxing, i guess. The auto load of posts increases the page views per visitor, brings down the bounce rate, increase average time spent on site.. and good in various ways. You can also check Digit.in website to check the auto loading of posts. Please introduce this option and we publishers will be very thankful to you guys.
3. Auto YouTube playlist fetching or Latest videos fetching from a specific YouTube Channel. Many publishers like me also have YouTube channel, which they updates on regular basis. So, if you can introduce a widget and Block/Module to display YouTube playlist or Channel’s latest videos list automatically just by adding the playlist ID or Channel ID… it will be awesome! In current block, we have to manually enter the IDs of videos which we want to display which is very painful thing to do again and again.
4. Please introduce native functionality of adding contact forms, no more depending on 3rd party plugins.
5. Introduce Quora profile option in Social Counter Plugin.
That’s it for now. I hope to get a positive reply on introduction of these features soon in the themes. 🙂
Thanks & Regards
Nitin
Hi!
You can make them appear if you change the code i gave you. Change this:
.td-header-sp-top-widget{
display: none!important;}
to this: .td-header-sp-top-widget{
display: inline-flex!important;}
They will appear but positioning and making them responsive is a challenge all by itself. You need a bit of CSS knowledge to achieve this. If not, you can hire a freelancer to do it for you if you really need to.
Thank you!
Thank you for your answer,
I manage to achieve the result by adding related post from the theme panel, it does not give the flexibility I was hoping, but it is good.
Thank you for your support
Ciao
Hello,
You can use a custom CSS code for a quick fix:
<code>.single .wpb_gallery.wpb_content_element.vc_clearfix {
margin-bottom: 0;
line-height:0;
}
.single .wpb_gallery .flexslider {
margin: 0 0 20px !important;
}
Just place the code in the theme panel->custom CSS: http://screencast.com/t/NmFbmhpyPE1l
The result: http://screencast.com/t/JNo6YHw0Tn
Thank you!
-
This reply was modified 10 years by
Alin [tagDiv].
I want to remove the extra large spacing that appears below the image gallery (using flex slider fade) on this page: http://wordpress.mauimagazine.net/eat-drink-be-merriman/
Is there a simple fix for that?
Thank you!
I have bought both MAG + NEWSPAPER.
My goal is to build a mix between a newsportal and tourism portal, with stationary things like hotels, bars and other. Do You think this is possible using VC. I need for some content not to disappear in the news, building info pages and more.
What do you think?
I am not too sure on specific article/post, but you could try a plugin named “Collapsing Categories”, we are using it now, it gives many flexibilities
Hi,
for a cdn, try out cloudflare… you have to change your main domain DNS to it but once it’s done, you have a lot of flexibility of what it’s cached and what it’s not. If you switch to cloudflare, try to not enable the advanced optimizations… they tend to interfere not only with our theme but with a lot of web apps.