- 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
Hello Bogdan
Thanks for your help.
I successfully update the visual composer but there still exists bugs, like the following screenshot:
The block editor did not show up any function editor for me to edit.
Please help me fix this:)
How do I find the category ids required to create an Ajax dropdown in the block settings? I tried using category names without success.
Thank you
Hi,
When the Big Slide shows a post belonging to a category shown in a block right below the slider, the same post is unesthetically duplicated (shown twice) on the front page. An example is shown below:
Apparently, there is no “creative” solution that would hide the post from the block below while it is being displayed in the Big Slide – other than changing the layout of the page. If there is, please let me know. 🙂
There are several “titles” that I want to change on my home page, like “DON’T MISS”, “LIFESTYLE NEWS”, “WRC RACING”, “HEALTH & FITNESS”, etc… I believe these are called “blocks”. I have been trying to change them but can’t find how to do it. Could you please send me step by step instructions. I only want to show a “block” for each of the categories on my site, which should in turn only show posts published under that category.
Thank you
But I have the latest WordPress upgrade, theme and also VC. I actually upgraded everything two days ago. I have no plugins because this is a local installation I use for testing purposes. Yet block 18 is broken. And it doesn’t happen if I install the previous version of VC. Of course when I install the previous version of VC, all I see is circle turning!
This is how b-18 looks like: http://screencast.com/t/MrHrYGOo
How much does SumoMe affect things like page requests and render blocking? I have it installed and just ran a Website Grader test. The site got a really high grade except for these two things and the lack of an SSL certificate.
Hi,
I have been using static 728×15 link blocks in the footers of two of my Newspaper sites. However, for no apparent reason they will only show replacement ads on about 1 – 2% of my pages.
Google AdSense support has, therefore, recommended me to use responsive link blocks instead. However, I cannot make those work.
If I use the responsive link block with the setting “Auto” for desktop (in the Ads section of the Theme Panel), the theme will show leaderboards instead (728×90), causing layout problems and – on several pages – violating AdSense rule of max. 3 ads per page. If I choose “728×15” setting for desktop, no ads are shown.
Is there any other way of implementing a responsive link block in the footer?
My site: http://www.swedentips.se/ (now the static 728×15 link block is running in the footer)
And this is an example of where the static 728×15 will only show replacement ad (white colour): http://www.swedentips.se/activities/swedish-midsummer-wreath/
Thanks.
Walther
Hi
I am using Newsmag and like it very much.
However as I begin my site I don’t have that much news so I am trying to eliminate a couple of sections in the demo.
I am using the Tech News template using the imported Tech News demo content.
In the Page editor, I am on the “News — Front Page” page, Visual Composer General tab and I see all of the “blocks” that control the top area of the page.
But I don’t see anything in there, for the home page, that controls the bottom area of the page, starting with the section called by default “Latest Articles”. It appears to be in a div called “.td-pb-article-list .td-ss-main-content”
I also want to eliminate the right side bar area starting with, in the demo “Stay Connected” It appears to be in a div called “td-ss-main-sidebar”
Where do I do that? (BTW I am keeping the footer area.)
Thanks!
Rowby

Hi,
Let me explain it another way. Speedbooster has a list of compatible plugins inside it’s code. http://screencast.com/t/hcjLnOqh4i2
If any plugins you use are not on this list, speedbooster will deactivate itself. If you remove this code the plugin will work normally even with plugins that are not on the list, but the tricky thing is this: plugins that are not compatible may cause issues with speedbooster or it will not be able to move the render blocks for those plugins to the footer. So you can test the speedbooster plugin with all your plugins using the method provided by Alin but we cannot guarantee it’s success afterwards.
I hope this helps.
Thank you!
Hi,
The page you showed has a simple grid on the homepage filtered to show posts from a specific category. This can be achieved from the block settings: https://forum.tagdiv.com/block-settings-tutorial/
The blocks can also be filtered by a specific category using the same method. http://screencast.com/t/8L4qB5VcCa
Thanks.
Hi,
It may be done with css if you set it to display both time and date from the php files and then hide the time with css with display:none; Then you can activate it with display:block or display:inline but only on the page itself in a row in visual composer with a custom class so it can be targeted with css. It cannot be done in the sidebar however.
I hope this helps.
Hi,
The modules will not break as they use the function from a different file, but there is for example one module that uses the function from here: module 15. This is not used within a block but rather the templates: blog, search…etc. If you use this module after your customization, it will have no post titles an no link to the posts themselves.
Thank you!
1) Unfortunately if you have black on black, then yes, this will be the result. You can however change the hover colors from the visual composer block settings.
2) This forum does not accept atachments but you can insert a link to the screenshot. Verdana is indeed used on the body even in our demo: http://screencast.com/t/uPLUXlQvM91A but this can be changed from the fonts section.
3)We have not added this option yet but maybe in a future version we will be able to insert a ‘most used’ or favorites section at the top of the dropdown.
Thank you!
I noticed a problem with Visual Composer on my website last night. When I go to ‘Backend Editor’ in any post or page, I can’t add any blocks. It shows the blocks, but when I click on them, it doesn’t add them. And for the already published articles and pages, it doesn’t show the existing blocks, so I can’t edit them either.
I tried updating the theme, and deactivating and activating the plugin but it didn’t help.
I tried deactivating any new plugins but it didn’t help.
I tried clearing the cache but it didn’t help.
I am attaching a screenshot of an existing page, where the visual composer doesn’t show any blocks.

Hi,
The ‘filter’ tab is not the one that controls the menus. The ajax filter is the one. The first filter tab controls the posts that display inside the block element: http://screencast.com/t/s2DyxkND0b
The ajax filter controls the ‘menu’ that appears above the posts: http://screencast.com/t/T1Tn2rCp
I hope this helps.
Thank you!
Hi,
If you modify the module 8 file then everywhere a module 8 is displayed, it will get the time instead of the date. If you want to only target one single block containing a module 8 that will be a much greater challenge as you need to add extra conditions in the code. This is much more complex and will require substantial coding knowledge. We recommend hiring a freelancer for this as we have no easy solution to provide.
Thank you!
Hello,
Unfortunately this error could come from a big number of problems. I believe it happens due to a server configuration which is not responding, it could be due to a delay or it could also be a temporary issue so you can try this a few times and if you still get this error please contact your host provider and let him know about this, ask them to unblock our demo in order to retrieve the theme data. It could also happen due to your wp install or other plugins might also cause this. Also make sure that your permission for the upload folder are set correct. You can check this by trying to upload an image in media library. If the process succeeds then the permission are ok. If not you can use the c-panel to change permissions (set them to 777) or if you do not have access to the cpanel, please contact your hosting provider.
Also make sure you meet the requirements for newspaper: https://forum.tagdiv.com/requirements-for-newspaper/
If you still cannot install the demo, please send an email at contact@tagdiv.com and provide wp-admin so we can take a look. Please also provide a link to this topic.
Thank you!
Hello
live demo
https://www.hellouk.org/%E9%A6%96%E9%A0%812016/
could you please tell how to adjust distance between these block?

thanks!
Hello,
Category tags can be enabled or disable for a specific module, but if that module is used on different blocks, then there is no setting from the theme panel to filter this out.
You can however use a css code to hide the category tags for other big grids like so:
.td_block_big_grid_1 .td-post-category,
.td_block_big_grid_4 .td-post-category,
.td_block_big_grid_6 .td-post-category,
.td_block_big_grid_7 .td-post-category{
display:none!important;
}
Thanks.
Hello,
The default fonts are roboto and open sans. You can change the fonts for different parts of the theme using that menu. There are lots of elements in our theme and they need to be targeted separately and this is the reason there are too many options in the fonts section. Unfortunately there is no single setting to change the default font. If you want an easier way to change the default font overall please follow this topic:
https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/
As for the link colors they are mostly changed from the theme accent color: http://screencast.com/t/nbzqxp8b but they can be changed for every block in particular in visual composer in block settings.
Than you!
Hi
When you’re using blog template the elements from Visual Composer can’t be added on page using the page-builder. However you can use do_shortcodefunction to display the big grid on blog page. Here is an example:
– first you need to get the grid’s shortcode. To do that add the desired grid on a blank page, set as you want then click on classic mode button to switch in back-end editor, copy the shortcode and paste inside do_shortcodefunction like here: http://screencast.com/t/GWIAj90xwep
<?php echo do_shortcode('[vc_row][vc_column][td_block_big_grid td_grid_style="td-grid-style-4" category_id="19"][/vc_column][/vc_row]'); ?>
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello ag1988,
Unfortunately, this error could come from a big number of problems. I believe it happens due to a server configuration which is not responding, it could be due to a delay or it could also be a temporary issue so you can try this a few times and if you still get this error please contact your host provider and let him know about this, ask them to unblock our demo in order to retrieve the theme data. It could also happen due to your wp install or other plugins might also cause this. Also, make sure that your permission for the upload folder are set correct. You can check this by trying to upload an image in the media library. If the process succeeds then the permission are okay. If not you can use the c-panel to change permissions (set them to 777) or if you do not have access to the Cpanel, please contact your hosting provider.
Also, make sure you meet the requirements for newspaper: https://forum.tagdiv.com/requirements-for-newspaper/
If you still cannot install the demo, please send an email at contact@tagdiv.com and provide wp-admin so we can take a look. Please also provide a link to this topic.
Thank you!
Hello GOT,
If you want to achieve the same layout, you have to reduce the padding-bottom for your Big Grid 4. Please try a bit of CSS code to do that and place it in Theme panel>Custom CSS area.
The code is ->
.td_block_big_grid_4{
padding-bottom: 2px;
}
The result you should see here -> http://screencast.com/t/07VOpBJBsv
For more information about “How to use Visual Composer”, please check here -> https://forum.tagdiv.com/how-to-use-visual-composer/
Thank you for the message!
Hi Support,
Assuming i have more than 1 block 9 on my page and i just want only one to show the time before the headline, how do i do it
Hi Bogdan.
I’ve implemented the changes to the backend and added a new option ‘Filter by categories and block filter’ for blocks (td_config.php)
static function get_map_block_ajax_filter_array() {
return array(
//custom filter types
array(
"param_name" => "td_ajax_filter_type", //this is used to build the filter list (for example a list of categories from the id-s bellow)
"type" => "dropdown",
"value" => array('- No drop down ajax filter -' => '', 'Filter by categories' => 'td_category_ids_filter', <strong>'Filter by categories and block filter' => 'td_category_ids_parent_filter'</strong>, 'Filter by authors' => 'td_author_ids_filter', 'Filter by tag slug' => 'td_tag_slug_filter', 'Filter by popularity (Featured | All time popular)' => 'td_popularity_filter_fa'),
"heading" => 'Ajax dropdown - filter type:',
"description" => "Show the ajax drop down filter. The ajax filters (except by popularity) require an additional parameter. If no ids are provided in the input below, the filter will show all the available items (ex: all authors, all categories etc..)",
"holder" => "div",
"class" => "",
"group" => "Ajax filter"
),
I’ve added an new case to td_block.php:
case 'td_category_ids_parent_filter': // by category AND block / menu category filter
$td_categories = get_categories(array(
'include' => $td_ajax_filter_ids,
'exclude' => '1',
'number' => 100 //limit the number of categories shown in the drop down
));
// check if there's any id in the list
if (!empty($td_ajax_filter_ids)) {
// break the categories string
$td_ajax_filter_ids = explode(',', $td_ajax_filter_ids);
// order the categories - match the order set in the block settings
foreach ($td_ajax_filter_ids as $td_category_id) {
$td_category_id = trim($td_category_id);
foreach ($td_categories as $td_category) {
// retrieve the category
if ($td_category_id == $td_category->cat_ID) {
$td_pull_down_items [] = array(
'name' => $td_category->name,
'id' => $td_category->cat_ID,
);
break;
}
}
}
// if no category ids are added
} else {
foreach ($td_categories as $td_category) {
$td_pull_down_items [] = array(
'name' => $td_category->name,
'id' => $td_category->cat_ID,
);
}
}
break;
I could have done it the lazy way:
case 'td_category_ids_filter' && 'td_category_ids_parent_filter':
But might as well add a proper case.
I’ve also modified td_ajax.php to handle category ids as an array (this is needed for td_data_source.php – see below):
case 'td_category_ids_parent_filter': // by category AND block main category - the user selected a category from the drop down. if it's empty, we show the default block atts
if (!empty($ajax_parameters['td_filter_value'])) {
$ajax_parameters['td_atts']['category_ids'] = array($ajax_parameters['td_atts']['category_id'], $ajax_parameters['td_filter_value']);
unset($ajax_parameters['td_atts']['category_id']);
}
// debug
// $output = print_r($ajax_parameters['td_atts'], true);
// file_put_contents('ajax_query.txt', $output);
break;
Finally changes to td_data_source.php:
// if $category_ids = array then only get posts with main block / menu category AND ajax filter set
// if $category_ids is an aray then prepare query with "category_and" instead of "cat"
if (!empty($category_ids) and is_array($category_ids)) {
$wp_query_args['category__and'] = $category_ids;
}
Checks for $category_ids == array and then prepares query with “category__and” instead of “cat”.
Changes enables you so choose the function with the main block / menu category id as parent for data in sub tabs.
Let me know if you guys want the diffs from code. I’m pretty sure a lot of your customers would love this imho much needed added feature.
Disregard the out-commented debug code.
Cheers 🙂
-
This reply was modified 10 years by
Phonetic.