- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi I have recently updated the theme to version 2.3.5 and visual composer to 4.9 that was included with the updated theme. However when I edit post with visual composer elements, the elements do not load up with any visual composer settings, i.e the ‘general’ tab is empty. for some elements like images, I can switch the tab from ‘general’ to ‘design options’ and will trigger the general section to show up. but it won’t work for all elements and won’t work for text blocks.
see image below

Hi!
I need to add a title in a woocommerce blocks (like “featured”, “recent products”, “category products”, etc. with the same style that in your demo: http://www.screencast.com/users/jorgegarcia24/folders/Default/media/9e942d5d-b95e-4a9c-b8fa-a9aff01db9e5
Now I cant do that.
And its posible to add all the example page of shop in my web? There is some demo shop to add completely?
Thanks!!!
Hi, I can’t edit the template blocks on pages and the settings for your theme aren’t appearing on the visual composer elements list. Please help ASAP as my site is currently down while I resolve! Thanks.
Question 1: How do I put an Adsense ad below the first post and third post on the home page? For my current theme (please visit http://www.livelifehappy.com) I just added the following line in the index.php file under <?php /* Start the Loop */ ?>
line added: <?php $adcounter = 0; ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php if ($adcounter == 1) : ?>
<div style=”text-align: center;”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– 300×250 Home Page Below 1st Post –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:300px;height:250px”
data-ad-client=”ca-pub-xxxxxxxx”
data-ad-slot=”8474826612″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<br>
Question 2: How do I add ads below the title of single post/pages and below content? I tried using the ad box in the theme options but it seems to stretch my 300×250 ads to fit the post box. I’d like it to stay the same. Please visit http://livelifehappy.com/life-quotes/closure-is-such-a-beautiful-thing-not-because-it-helps/ and http://livelifehappy.com/17-rules-for-happiness-being-happy/
***I just need to loop the Adsense ads (under 1st and 3rd post) on the home page and throw an ad that doesn’t resize under the title of post/pages and under the content/social share buttons. I will switch over once I figure out how to do those things.
Thanks
Hello,
How can I add custom ads into the post?
I tried shortcode [td_block_ad_box spot_id="custom_ad_1"], but it doesn’t work.
Thanks
Hi,
It’s possible to display two adsense ads in the same custom ad block?
I have:
<script async src=”http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– novo adapt –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-publishernumber”
data-ad-slot=”adslotnumber”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
I’ve tried to input another one (different ad size, different slot) but it doens’t display.
Even tried using Div but nothing again.
Anyway to use this?
Thanks.
Hi, I’m check my site on Google Webmaster Tool (Test Speed) and have 69/100 point of speed on mobile. And my site have a problem is “Eliminate render-blocking JavaScript and CSS in above-the-fold content”
How to fix it?

thanks for support
Previous themes I’ve used for my newspaper had the option to automatically set the first image in a post as the featured image. Newspaper doesn’t seem to support this. I’ve installed a plug-in that should provide this functionality, but it still doesn’t work — unless I manually select a featured image, I get the placeholder image as the thumbnail in blocks and category pages.
But oddly, I also get *two* images in my RSS feed — the featured image, and a thumbnail of it. This is a problem because MailChimp parses the RSS and send it as an email summary to readers.
Any suggestions?
Hi,
Good thing we figured it out and we can adjust it accordingly. Please try this code:
.td_block_slide .entry-title>a{
background-color:rgba(30, 115, 190, 0.7)!important
}
result: http://screencast.com/t/mcAyWl7Blnl
Thanks.
Thanks Andrei,
So for this particular case, I’ll just modify ads.php by adding author ID and then include the Adsense code on 2 different custom ad blocks?
Can you kindly show an example say I decide to put the 2 rotating ads on custom ad block 1 and custom ad block 2?
I’m using now
@media (max-width: 767px) {
.td_block_21 {
display: none;
}
}
to blocks the whole block on mobile (not my preferred solution but ok for the moment).
This means at the same time, that also the Custom CSS panel is working fine. It must be definitely something with the ID.
“It is a unique ID number” is from what I saw not true anymore. Every time I press refresh (frontend, unique post) the ID changes!
e.g.: td_uid_10_568f9cd5d33a9_rand
after F5: td_uid_10_568f9bc389df3_rand
Can you please check this on your side?
Thanks!
Hello,
Please check the custom css in your theme panel as there may be an open tag in there that prevents the code from applying to your block title. Please provide a screenshot so we can take a look and see if there is something that could impact the code.
Thank you!
Hello,
Please try this code instead:
.td_block_slide .block-title > span{
background-color: transparent !important;
color: #444444 !important;
padding-left: 0px;
padding-bottom: 3px !important;
padding-top: 0px;
display: inline-block;
}
Thank you!
Sorry man, but you aren’t referring to the same place.
Now follow me, OK?
Login to WordPress admin area, on the left side of the panel, there is a place called Visual Composer.
Now take your cursor there and you will see a section called Grid Builder…
These grids are different from your theme’s grid blocks or other sliders.
They are used to customize VC related Post Grids, Media Grids, Post Masonry Grids or others post related structures.
Are we on the same page now?
Hi
The point is to create a sidebar for each category like this, in my case the category is Android:
– create a specific sidebar for this category, add a block in it and in block settings I select only the posts from this category to be displayed: http://screencast.com/t/eeza2pDhp
– from theme panel > categories > Android I select the custom sidebar which I want to display on Android category page: http://screencast.com/t/f3UYuw8CZ
The result will be like this, when I navigate at Android category, the page will display this sidebar, with post only from Android category: http://screencast.com/t/HyN1cfn7y
Hope this help.
Thanks!
Hello,
You can use this css to style the block title:
.td_uid_3_568fa6ae3f95b_rand .block-title span, .td_uid_3_568fa6ae3f95b_rand .td-trending-now-title, .td_uid_3_568fa6ae3f95b_rand .block-title a, .td_uid_3_568fa6ae3f95b_rand .td-read-more a{
background-color: transparent !important;
color: #444444 !important;
padding-left: 0px;
padding-bottom: 3px !important;
padding-top: 0px;
display: inline-block;
}
If you want to adjust the title font you can use this code:
.td_uid_3_568fa6ae3f95b_rand h4{
font-weight:bold;
font-size:16px
}
I hope this helps.
Thank you!
Hi
1. Try this css in theme panel > custom code custom css: http://screencast.com/t/LWo79pKINwG
.td-header-sp-logo img{
padding-right: 24px;
margin-right: 45px;
}
2. From what I can see in your screen there is an additional distance added on top of trending now block. I am not sure why that distance appear but can be a margin or a padding set by a plugin. Try to deactivate all plugins except Visual Composer, clear all caches and test again.
Let us know how it goes.
Thanks!
Hi Bogdan,
I checked it again but could’t find an open tag. Heres my custom CSS:
@media(max-width: 767px) {
.td-footer-template-3 .td-pb-span4 .td_block_15 {
float: none !important;
}
}
@media(max-width: 767px) {
.plista_widget_standard_1 {
display: none;
}
}
@media(min-width: 768px){
.plista_widget_webApp {
display: none !important;
}
}
@media(max-width: 768px){
.plista_widget_webApp {
padding-bottom: 25px;
}
}
.td_module_wrap .td-module-meta-info .td-post-views {
position: relative;
display: inline-block;
top: 2px;
margin-left: 14px;
color: #aaa;
}
.td_module_wrap .td-module-meta-info .td-post-views span {
margin-left: 5px;
}
::-moz-selection { /* Code for Firefox */
background: #b001ff;
}
::selection {
background: #b001ff;
}
@media (max-width: 767px) {
.td_uid_9_568f9c1760d60_rand {
display: none;
}
}
@media (max-width: 767px) {
.td_uid_9_568f9bc389df3_rand {
display: none;
}
}
@media (min-width: 767px) {
.td_uid_10_568e7476d238f {
display: none;
}
}
@media (min-width: 767px) {
.td_uid_10_568f9c5624c74_rand {
display: none;
}
}
What I’m wondering is, these numbers (bold).td_uid_10_568f9cd5d33a9_rand are changing for each article, although I’m using the same widget.
-
This reply was modified 10 years by
David.
Hi guys,
Hopefully you could help me on this one.
I tried copying excel data to wordpress in text/visual tab but it didn’t work. My prime suspect is WP 4.4.1 Clifford.
I always get this format and not the rich format with borders and line:
SPECS, PH PriceHuawei MediaPad M2Display10.1-inch 1920×1200 pixels IPS screen, 224ppiSize7.4mm thick, 500g weightDesignAluminum unibody design, quad speakers or 4 speakersColorsSilver (16GB), Gold (64GB)Chipset & CPUHisilicon Kirin 930 octa-core, 2GHz Cortex A53, 1.5GHz A53GraphicsMali T628 MP4Memory2GB RAM + 16GB internal,
Is this an error because of the NewsMag theme too?
How can I fix this one?
Hello madeyoulookstudio,
I have checked your screencast and I saw what’s the problem. It seems to be an issue might be caused by conflicting plugins. Please try to disable all the active plugins, except Visual Composer, clear all your caches and install only the plugins that come bundled with our theme. Also, please check your custom modification if you have some changes for this kind of block wich could cause this layout damage.
Let us know how it goes and if you need more assistance after you have followed my solution, please provide your website URL so I can further inspect the issue.
Thank you for the message!
Hi!
Earlier I posted my problem about the big slide title style.
“I’m using a big slide on my homepage: http://luikenkarstens.nl/declercq/ But I want to change the (title) style to this: https://elnotarissen.nl/
It seems like the option to change the style is no longer there.”
You answered this:
“Hi,
Yes, unfortunately in newspaper version 6 that block title style option isn’t available anymore but it can be achieved trough custom css.
Set a block title for your slide and open a new topics on our forum: https://forum.tagdiv.com/ provide a link or the connect of these conversation and we will give the right custom css code to get that design.
Thanks for the message!
Lucian C. tagDiv”
Can you please give me the right custom css code?
Hello carmene,
If you want to remove the More Author feature, please try the code below and add it in Theme panel->Custom CSS area.
.td_block_related_posts .td-related-right {
display:none;
}
The result you should see here: http://screencast.com/t/x1l7A2ti
Thank you for the message!
Hi
If you don’t have featured images for your post then you can use blocks 9 and 10 from Visual Composer to display your posts: http://screencast.com/t/bdrhoiAZBaq They will be displayed like this o pages: http://screencast.com/t/QHkRCbMYa Also you can use module 8 and 9 which have the same layout: http://screencast.com/t/0ooLyp0z
Let me know how it goes and if this is not what you mean please provide more details.
Thanks!
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/mPfLNpyt360m
@media (max-width: 767px){
.td-header-top-menu{
display: block !important;
}
Please note that the top bar wasn’t designed do be displayed on mobile devices so you may need additional customization in order to have it displayed fine.
Let me know how it goes.
Thanks!
Hello gunner05,
If you want to insert ads on these post templates it is necessary to use do_shortcode method with the custom ad to achieve this. You should alter this file -> single_template_9, 10, 11.php. First of all, you should insert your ad code in Custom Ad 1 field from Theme Panel like this: http://screencast.com/t/fFL1w7Ty and then, with this code -> you have to add them in the according file, like this -> http://screencast.com/t/ljmd8SCNllR3 http://screencast.com/t/HWyRljFY
-> http://screencast.com/t/Wd6n3DMBou
The result -> http://screencast.com/t/hgFlJUhoyv -> http://screencast.com/t/nRmcQ3kq7b
Hope this helps and let us know how it goes!
Thank you for the message!