- 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, guys!
I’ve try to get woraround for a trouble with Custom Taxonomy, and make it with Categories and Tags only.
I make a Main Category “Brand” and some sub-cat’s “Cambridge Audio”, “ELAC”, “Monitor Audio” and so on.
I make the “Brand” Category hidden on site frontend. Newspaper support this feature, great!
I remove /category/ slug with “No Category Base” plugin.
But the slug /brand/ still present in URL
http://dev.barnsly.ru/brand/cambridge-audio/
How can i remove it?
Is this safe for site consistance?
Hi,
Since I wrote you, Last night I was experimenting with different look on using different blocks on my website and I changed the Block 24 to Block 11 and since I didn’t know you are going to check the web site I didn’t change it back to Block 24.
Now I put the Block 24 back to the website. if you check it now, you will see The images are chopped off from both side and it doesn’t look good. As you recommended I enabled Thumbs for Featured images but Feature images look the same.I left the block 11 below the block 24 and as you see images in block 11 are scaled down but not chopped off. Can I get the same behavior for my images in block 24 then I will be happy!. I like the size of images in block 24 but not chopping off or distorting the images. Please tell me how I can get to this goal.
2) I don’t want Authors names appear next to headlines and I disabled the name of Authors in Theme Panel but the names of Authors appears in my Home page and my Menu items when I go to those pages. How can I disable it?
https://www.screencast.com/t/RM5d3ndR4Ul
https://www.screencast.com/t/Tg29lfA24
Thanks
Problem solved.
It was css fault. Gallery is no longer lagging after adding this custom css:
@media (max-width: 767px){
.td-doubleSlider-2
{
display: block!important;
}
}
It’s still block rendering jquery no matter I try your guide
Hello soheyla,
I have inspected your website and I saw that you are not using the thumbs for your featured images, right? Please check your Theme panel and make sure that you Thumbs are enabled from there, according to your modules/blocks used by you, like this -> https://www.screencast.com/t/Xg3dsfLct
Thanks for your understanding!
Hello 1CBAR1,
If you want to change the colors you should check the theme panel at the Section Theme Colors and change from there what colors you want. -> https://www.screencast.com/t/jdHscyZIQQ2s
Also, you can use a bit of CSS code to if you want to change the image which is applied to all block header, like this -> https://www.screencast.com/t/jdHscyZIQQ2s
Thanks for your understanding!
Hi,
The modules used on blocks can display only stars regardless of the review style used on the post. This is the way the blocks are designed, and there is no option to change this. The posts that have reviews will be displayed like this on the modules
– https://www.screencast.com/t/NRFqSL3Pd
Thanks
hello @MitchyBoy
Edit your homepage using TD Composer then choose block where you want to show latest articles and now change Sort order to Latest on Filter tab. And SAVE the changes. ?

I’ve solved it.
I think it’s a great feature for future Newspaper Updates!
<?php
$category = get_the_category();
echo do_shortcode ('[vc_row][vc_column][td_block_big_grid_fl_3 sort="featured" category_id="'.$category[0]->cat_ID.'"][/vc_column][/vc_row]');
?>
See this screenshot:
https://www.screencast.com/t/VaPOz43VvuY
Hi,
I am using block 24 in my website. I don’t want my images to be corrupted. I want the images to be scaled to 280×150.
I have read https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
And also read td_api_thumb
td_api_thumb::update(‘td_100x75’, array( ‘name’ => ‘td_100x75’, ‘width’ => 100, ‘height’ => 75, ‘crop’ => array(‘center’, ‘top’), ‘post_format_icon_size’ => ‘small’, ‘used_on’ => array( ‘Module 6, 7’, ‘Block 1, 2, 7, 8’ ) ) );
Would you please tell me what is the code that I should use for scaling images to 280X150 in block 24
Thank you Simion,
I’ve tried to add the block, but the problem is that in every category page the block shows the overall featured posts and not the featured posts of that category.
Hello,
my client is a national online newspaper and really likes the Big Grid1 block on its home page; tough it demand for more customization, for example: setting the block up as pulling from the “category2” category and ordering by the latest posts, it is quite impossible, for them, to easily set one of those article as the bigger one. It will also be the latest. I know they can manually insert the posts IDs, but that’s not a quite fast solution. They’d like to have a more manageable tool to easily set up the bigger post on the block.
Do you know what could be the solution for this? Should i edit the php code of the block to respond to a particular custom field or something?
Thank you.
Hi 🙂
I’ve a question. I’d like to show the vote of my review in NewsPaper Blocks. It’s possibile? Or i can show only the relative star value?
Best,
Toni 🙂
Any chance of adding a block filter option for “random — last X posts”? Some of us who don’t update as frequently might sometimes only have 1 post in the last 7 days, but still want our home page to vary upon refresh. And anyone might want to display a rotation of the few most recent posts they published in particularly category, even if they are not in the last 7 days.
I managed to fix it with some bad CSS.
.vc_pageable-slide-wrapper p {
margin: 0;
clear: both!important;
display: none;
}
.vc_grid-item p {
display: block!important;
}
This is a temporary fix for me. If you know how to remove those <p> please tell me, thanks.
I found a piece of the solution!
This happens because of 2 reasons :
.vc_grid.vc_row.vc_grid-gutter-30px {
margin-right: -30px;
}
(which I don’t know why this is happening)
So I added on custom CSS :
.vc_grid.vc_row.vc_grid-gutter-30px {
margin-right: 0!important;
}
AND
the <p></p> that is adding itself after each block.
I don’t know how to remove them. Do you know how?
Thanks
Hello @lavesh
Edit your homepage using TD Composer then choose block where you want to show latest articles and now change Sort order to Latest on Filter tab. And SAVE the changes. 🙂
Refer:

Hello RubenDelaCalle,
If you want to add a playlist created in Youtube to your website, notice that you should not use the YouTube Playlist element because will not work as expected. Will be two playlists ->playlist in a playlist, sorry! Another possibility for you would be to use the embedded code method and add the embedded code in RAW HTML or in a Text with Title block, like this -> https://www.screencast.com/t/NGDdofYQoM and the result you can see here -> https://www.screencast.com/t/Ctlx8MaFvrqX
Ensure that your YouTube component does not have a list on Youtube. In this case, the VideoPlaylist will not work. If you want to bring good results in this regard, you should add only one video per Youtube ID separated by a comma and then you will create a playlist with your YouTube Playlist element. Notice that exists ready-made playlists on YouTube which do not work with the YP Playlist, sorry! I have tested this element and should work as expected if it will be setup according to our documentation.
Hope this helps!
Thanks for your understanding!
Hi,
You can always ask for more information until everything is clear, when you have a problem or you are in a bind. We and other users will do our best to help you.
When you install a demo with content, this will simply import some dummy content to see how everything will look. This content includes posts, categories, menus etc. You have to create your own and replace these
– https://forum.tagdiv.com/main-menu/
– https://forum.tagdiv.com/how-category-settings-work/
All elements on the homepage can be customized as well. The Big grids and blocks can be configured to pick posts from your categories and you can also sort the posts
– https://forum.tagdiv.com/block-settings-guide/
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
Thanks
Hi,
The thumbnails displayed on blocks are created from set featured images. There are plugins maybe that can take the first image from the posts and use that as featured. You could search for a some plugins that have this capability, and try them. Also search the forum for similar topics
– https://forum.tagdiv.com/topic/linked-image-as-a-post-thumbnail/
The plugin recommended is not tested, but it seems to work for other users with the same situation.
Thanks
Hi,
It seems that when hovered the links change color to white. They should change to the theme accent color, but that is overridden. That happens for the category tags as well.
Maybe you have custom code for these blocks in the widgets section, since this does not happen on all the website. Or custom code for the particular post template, or post Id.
It could be fixed with code
– https://www.screencast.com/t/QyVvL0wB
.td_uid_3_594b5ab6b7d43_rand
.td_module_wrap:hover
.entry-title.td-module-title a
{
color: #72a7ab!important;
}
.td_uid_3_594b5ab6b7d43_rand
.td-module-meta-info
.td-post-category:hover {
background-color: #72a7ab!important;
}
Thanks
Hello dewminh2,
Notice that our theme using the Ajax for Block Pagination and any other feature. (like Ajax Filter) For more information about this points, please check our documentation here -> https://forum.tagdiv.com/block-settings-guide/ Notice that our theme does not have any such an option that allows you to replace the Ajax pagination for these with no AJAX process, sorry! 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 services at the moment, sorry!
Thanks for the message!
Hi,
The grids or blocks do not support this feature. These elements were made to ignore sticky posts as the blocks would break if sticky posts were available.
These are all the available block filtering and sorting options at the moment
– https://forum.tagdiv.com/block-settings-guide/
Also more on category settings here
– https://forum.tagdiv.com/how-category-settings-work/
Thanks
I would like the default image displayed in the blocks to be the first image in a post if a featured image is not present. Can this be set? At the moment it only uses the featured image. Thanks for any help with this.
Can’t seem to get this to work no matter what I try and I’ve been through a bunch of the other posts in this forum trying to find something that works. I just want to show a different ad in the header spot when the category is obituaries. With this code, no ad shows up when the obituary category page is viewed even though I have an ad in the theme settings for Adverts in the Custom Ad 1 field. Any help is appreciated, thanks!
This is my replacement for /parts/header/ads.php:
<div class=”td-header-rec-wrap”>
<?php
$tds_header_ad_title = td_util::get_option(‘tds_header_ad_title’);
// show the header ad spot
if (is_category(‘obituaries’)){
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘custom_ad_1’, ‘spot_title’ => $tds_header_ad_title));
}
else
{
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘header’, ‘spot_title’ => $tds_header_ad_title));
}
?>