- 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,
Each block uses a combination of modules and both are predefined in the theme. This is how block 15 looks with a limit of 5 posts on a full row – https://www.screencast.com/t/HHYjoVus3N and with a limit of 3 posts – https://www.screencast.com/t/0z8yfTTuZt You can not stretch the 3 modules to fit the entire row. If you want different looking modules you can use a different block. Here you can see all the blocks available in Visual composer – https://demo.tagdiv.com/newspaper/block-1/ More about Visual composer here if you want to read – https://forum.tagdiv.com/how-to-use-visual-composer/
Thanks
Hi,
You can try this code, just enter it in Theme panel->Custom Css with this result – https://www.screencast.com/t/ZaAojA4h5
.td-related-title.td-block-title
.td-cur-simple-item {
background-color: #007200;
}
.td-related-title.td-block-title {
border-color:#007200;
}
Thanks
Hello JJ0000,
Unfortunately, our theme does not have any such an option that allows you a way to change or edit the category pages, sorry! If you want to do that, you should edit the theme core files and edit the category templates through adding some blocks or something else, using the do_shotcode method, like this -> https://www.screencast.com/t/1tY81RZA If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for the message!
Hello,
how can I change the number of posts per row to show? I have the recipe demo and when I try to change the block 15 from 5 to 3, some white space is left while I would like to take 100% of the available space.
Dear Support-Team
For some unknown reasons the header color for the “Related Articles” block are not as required (look at the bottom of the following examplary article http://radiouahid.fm/tafsir-juz-amma-unterrichtsserie/ ). All other header colors are as they should be (#007200). Why is this the case?
Best regards
Hello Ace,
I guess that you do not use the correct layout in your backend in Visual Composer. Use the layout 1/1 and add your desired blocks, like this -> https://www.screencast.com/t/TatBYdyD1 Clear all your caches and check the results.
Thanks for your understanding!
Hello illusio26,
I have inspected your website and I saw that the theme crops the images as expected according to what type of Block is used. For example, the Block 1 uses the module 1 and module 6 which uses the 300*194 px and 100*75px as thumbs. For an example from your website, this is the full image -> https://www.screencast.com/t/Va9nzVRh and the following one is cropped image, like this -> https://www.screencast.com/t/xMWdqp9R The theme works ex expected and crop the image as properly.
Thanks for your understanding!
Basically you need to trim down the block ajax options meaning the blocks pagination and ajax filters: https://www.screencast.com/t/dJiJC0KA7lWD
If all your blocks contain these elements, then you will get lots of admin-ajax requests
Also make sure you do not use too many different types of blocks.
Thank you!
Hello Ace,
I have inspected your website, and I saw that you are not using the right layout and that’s why you do not bring the best results. Try to use the 1/1 theme layout in Visual Composer like this -> https://www.screencast.com/t/Ajxz3qvQ and then you will see this effect, like this -> https://www.screencast.com/t/9XMrp8fr2 Also, if the problem is still there, please provide a screenshot with your backend in Visual Composer so I can see how you can add your blocks.
Thanks for your understanding!
Hello Emil,
I have the same problem. My system status is all green (everything ok)
If block access to admin-ajax-php file is the case, you mean I should call my hosting firm to fix it?
Hi is there a way to add and customize blocks in each category template, like how we can in the News/frontpage page? I would like to add different blocks (tabs, rss, ad blocks, etc) to each individual category. Is this beyond the theme scope or can I do it by editing core files, etc. Thanks!
Howdy tagDiv friends,
I have a minor but visually distractive problem on my site: http://www.goproace.com
It seems to only happen on frontpage and not category pages or posts.
What happens is the block or module looks to be out of place. As if too much margin or padding.
I’ve tried to adjust the settings on visual composer, perhaps I’m missing the issue.
Here is screenshot of what I’m seeing now : http://www.goproace.com/wp-content/uploads/2017/03/3.png
Notice in Block 2, Block 5, and Block 6 that this issue persists.
Please advise as any help would be great!
Thanks again,
Ace
Hi, I did everything but purge CDN files that I could not find out where it is and I still have [td_block_trending_now][td_block_big_grid_1]
[td_block_16 custom_title=”Trámites y Noticias” category_ids=”1, 66″ limit=”6″][td_block_ad_box spot_id=”sidebar”][td_block_popular_categories custom_title=”Guía de México” limit=”12″]
[td_block_16 custom_title=”Escapadas y Turismo” category_ids=”89, 53, 90″ limit=”10″] on my phone.
Please advice how to purge CDN files and is there anything else I can do?
Thanks again.
Good afternoon, at the moment of modifying a block, the save button does not respond, not generating any action, how can I solve this?
Hello,
Is it possible to disable bubble counter on widget sidebar blocks?
I use Block 1 on my homepage, however it doesn’t appear to be cropping the thumbnails properly. I checked the theme panel and have all the right boxes active. Here is an example of what I’m seeing. Is this how it’s supposed to look?

Hi,
I have a problem with main page. My website main page shows as white while the other pages are ok.
I tried many things but I couldnt find any solution.
Moreover I opened wp.config and wrote “error_reporting(E_ALL); ini_set(‘display_errors’, 1);
define( ‘WP_DEBUG’, true);”
And on the page it shows that;
Fatal error: Class ‘td_block_big_grid_1’ not found in /home/xxx/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php on line 35
Waiting for your help
Thanks
1) Is it easily possible to change width to 1200 px ?
No.
Unfortunately, our theme does not have any such an option that allows you to change the width of templates because it has not been designed to use dynamic width and if you try to do this, you can simply damage the theme layout.
Hello,
I have few concerns regarding theme thumbnail generation.
Allow me to describe situation.
Recently i was hired to take over client website (he had a lot of performance issues because of bad web hosting company etc.) and it turned out he is running your theme (really well coded theme and well coded support).
1. – when they installed your theme back then – of course they turned on absolutely all thumb available in Theme Panel > Block Settings > Thumbs on Modules/Blocks as can be seen here https://forum.tagdiv.com/theme-thumbs/
Problem is….they don’t use all modules – therefore theme is generating unnecessary thumbnails. Now they have over 250 000 images in their uploads folder?!?!
My question is – if i disable some of these thumbnail settings in Theme Panel > Block Settings > Thumbs on Modules/Blocks and if i regenerate thumbnails with Regenerate Thumbnail plugin – are these unnecessary thumbnails vanish from my media library – pardon uploads folder? ATM my uploads folder is 10GB big. I am guessing when i get rid on unnecessary thumbnails i will have at least 35% reduction in size.
2. of course i will use built in wordpress image compression (they did not used that previously) – as described here https://forum.tagdiv.com/how-to-make-the-site-faster/ i will add
add_filter( ‘jpeg_quality’, create_function(”, ‘return 50;’ ) );
to functions.php
When i regenerate thumbnails – will newly generated thumbnails follow rule of compression from function.php?
Thanks in advance
Hello IamLegend,
Please keep in mind that the Admin Ajax is used by our theme to request the Server and may of the features theme uses this way to query the server. To know more details about this Admin Ajax, you can control the following topic here -> https://forum.tagdiv.com/topic/high-processor-usage-by-admin-ajax-and-index-php/ and also, to avoid the slowly loading speed, you should consult the Dedicated Server Requirements for Newspaper, like this -> https://forum.tagdiv.com/requirements-for-newspaper/ This can be a useful guide regarding on Admin Ajax functionality -> https://www.smashingmagazine.com/2011/10/how-to-use-ajax-in-wordpress/
Also, if you want to reduce the requests for your server, you simply disable the features which use this, like
->Blocks/Modules, block pagination, etc.
Thanks for your understanding!
Hi,
Some of the properties you are trying to change about the blockquote, are available in Theme panel->Theme Fonts->Post content – https://www.screencast.com/t/5oDw4aI9xDCP But if you want to change them through that css code, try it like this
.td-post-content blockquote p {
max-width: 600px;
margin: 20px;
padding: 10px;
text-align: center;
font-family: sans-serif;
font-size: 16px;
color: #7f7f7f;
border-left: 6px solid #38b6cd;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
With this result – https://www.screencast.com/t/NPHUZkcN8
Thanks
Hi,
Try this code, just enter it in Theme panel->Custom Css – https://www.screencast.com/t/7Mp5IgUA
.td-related-title.td-block-title {
background-color: transparent;
}
If this does not fix the problem, please provide a link to your website so we can inspect it.
Thanks
Hello,
The pagebuilder + latest articles template cannot have a load more option. What you can do is use the default page template and instead of a ltest articles section, create a new block using your favorite one, and name it latest articles or what you wish adding pagination to it using load more. Simply replace the latest articles section from the page template with a standard paginated block.
As for the sidebar, on any other page template, you will have to create the sidebar on the page itself from the page builder. Either adding elements on a split row directly or simply split the rows and add a widgetized sidebar element. In order to make the sidebar sticky on pages you can use this method: https://forum.tagdiv.com/smart-sidebar-2/
Thank you!
Thanks for the tip Catalin, I will try it out and see.
Also would you happen to understand why Block 2 and Block 6 are appearing incorrectly on my site front page? For both blocks I have set to 3 columns (3×2 tiles or 3×3). Right now on desktop view these blocks show up as 2 columns and 3 rows or more.
Any help would be great.
Thanks again
Hello,
1) I’m not sure how your title is not centered. Here is how it displays on our end: https://demo.tagdiv.com/newspaper/td-post-lenovo-details-new-computers-that-could-be-heading-our-way-in-2015/
If you want to decrease the size of the container it can only be done with css. Here is an example:
.td-post-template-7 .td-post-header{
height: 415px!important;
}
Add the code in the theme panel-> custom css box.
2) The content width cannot be changed as all the theme elements depend on this fixed width. There is no solution I can provide in this regard
3) The only way of adding anything automatically for all posts at once is by altering the theme files and adding the widget shortcode with a ‘do_shortcode’ function on each post style you use: https://www.screencast.com/t/iyCusKK9yi
as an example: https://forum.tagdiv.com/topic/change-order-ads-on-post-template/
4) The same method as 3. There is no other way of adding content for all posts at once.
5) https://forum.tagdiv.com/how-to-use-visual-composer/
6) Please use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
7) Please provide a swcreenshot of how you set the ajax filter in the back-end and make sure the spoecific category has posts to show.
Thank you!