- 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,
For blocks there is a different option in the theme panel to disable the author name and date. The option is in the Block settings
– https://www.screencast.com/t/TdC1cFpqa3
Thanks
Hey Catalin,
Yeah I am referring to those headings from each block 🙂
I had a go but still can’t seem to figure out how to change those headings. I have managed to change the category headings at the top though.
Thanks for your help 🙂
Hello, I´m trying to remove all content excerpts from all modules and leave the title excerpt by itself. I have tried doing it through the Theme Panel, setting all values to 0, but I still see some.
How can I do it? Thanks!
I find it dificult to modify the home page of the demos. I downloaded the baby blog demo and I want to erase altogether the block call Latest Articles with 12 articles on HOME page, but I don’t have control over it. Same for the side bar, I can’t change anything.
I don’t have any control over the HOME page blocks in TD composer. I do I change them? Thank you
Pierre
Trying to register new td_module_20 into td_config.php, but does not appear in theme panel
Also i would mention that i have try to register it into the td_config.php into the original theme and into the child theme, but no luck
here is what i try to register
td_api_module::add('td_module_20',
array(
'file' => td_global::$get_template_directory . '/includes/modules/td_module_20.php',
'text' => 'Module 20',
'img' => td_global::$get_template_directory_uri . '/images/panel/modules/td_module_19.png',
'used_on_blocks' => array('td_block_24'),
'excerpt_title' => 30,
'excerpt_content' => 50,
'enabled_on_more_articles_box' => false,
'enabled_on_loops' => true,
'uses_columns' => false, // if the module uses columns on the page template + loop
'category_label' => true,
'class' => 'td_module_wrap td-animation-stack',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
Hi i recently asked how you remove author and date from post. I have selected those items from the the theme panel and it works for all of the posts except for the main page. Im using the block 3 grid and the very first block (the big one) shows the author and the date… the other ones don’t
Hello sanket3811,
Here is talking about comments count which is displayed at your blocks in the page. Notice that exists an option for it in Theme panel which allows you to enable/disable this element, from here -> https://www.screencast.com/t/VZdOQEoT
Hope this helps!
Thanks for your understanding!
Hi!
When the post is contained of Facebook post embeds, everything is fine except when this post is shown on the homepage in some of the blocks where it automatically pulls “text excerpt” bellow the image.
Here is an example of the problem: https://prnt.sc/fpil1v
Is there any fix or I just have to put some longer text before the Facebook embeds?
Good morning / evening,
Is there a way to configure easily the Category Top Posts Style part of the category pages so that by using tagging we can features selected posts in the category.
Reason, we do not always want just the most recent 5 posts in that block. Some posts we will promote into the block depending on the topic.
The section I’m referring to can be found here:
Newspaper > Theme Panel > Categories > Category Top Posts Style

Also can you remove the Category Top Posts Style from the second page onwards on the categories pages. It would seem useful as a feature block on page one but page 2 onward maybe the lists of posts is sufficient. I noticed on the Newspaper demo of categories online that somehow the posts in the clock seem to be the same on all pages where as in our configuration is it the top 5 on that pagenination page. Are we missing a setting somewhere?
Our categories page for our “Things to do” category can be found here: http://www.jamjosandbox.com/news/things-to-do/
I appreciate any assistance.
Cheers
James
Hi,
The description data is taken from the user profile field
– https://www.screencast.com/t/gnMbmXuRP6
It would have to be removed from there. Or you could enter this code in Theme panel->Custom Css
– https://www.screencast.com/t/sTRoZVJp
– https://www.screencast.com/t/yukAy4iyFY
.td_block_author
.td-author-description {
display: none;
}
Thanks
Hello,
The post author and date can be removed from the theme panel: https://www.screencast.com/t/8bgyPYR2b
The sorting of the posts inside a block or grid depends on the sorting option chosen. You will have to use the block settings in order to sort your posts in the block or grid: https://forum.tagdiv.com/block-settings-guide/
Thank you!
hi! I would like the author name and date to be removed from each post. How do i do that?
also is there anyway to force hierarchy with posts. I would really like one post to be first in the placement of the block grid and changing the dates on it didn’t do anything
Hi,
There is no option to change the comment count icon. But it can be disabled for all the blocks, in the theme panel
– https://www.screencast.com/t/eZ9gjVdyzX
Thanks
Don’t worry – written my own CSS for this, if you visit BadgerGP.com now you’ll see that the 3 columns of thumbs now zoom in subtly on hover so the visitor knows it’s a link.
Added a class called bdgrhover to the block and then this custom css in the theme panel.
/* Animation */
.bdgrhover .td-module-thumb a img {
transform: translateZ(0);
-moz-osx-font-smoothing: grayscale;
transition-duration: 0.3s;
transition-property: transform; }
.bdgrhover .td-module-thumb:hover a img { transform: scale(1.1); }
.bdgrhover .td-module-thumb:focus a img { transform: scale(1.1); }
.bdgrhover .td-module-thumb:active a img { transform: scale(1.1); }
Hi,
theme: Newspaper
i have a question, how can i change or hide the comments icon on a block.
i use block 21 for my homepage, now it shows the the amounts of comments on a blog.
is it possible to change this icon or even hide it ?
kind regards,
Ramon
Hi,
The author Id is created by WordPress. There are many ways of finding this Id
– http://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/
– https://forum.tagdiv.com/topic/author-box-5/
Some elements can be customized with Css and offer the possibility to set a unique class to them. For example you have two block elements of the same type, with no particular way to differentiate them
– https://www.screencast.com/t/I3rLwdhnEH
By setting a custom class to one of them, you can customize it with Css without affecting the other one
– https://www.screencast.com/t/qdr5fkCP
– https://www.screencast.com/t/Wq1xJeAU
There are also many other situations in which this option may be helpful.
Here is a tutorial about uisng teh browser inspector to create custom code, that you can use in the theme panel
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
Sorry but the theme will only crop images, it will not enlarge them. You seem to be using a YouTube video though. Some YouTube videos add the black borders around the thumbnail.
As for the images that do not fit, please make sure your image is at least the size of the container as the theme will not enlarge them. If your images are indeed larger, use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thanks.
Hello k24,
I have inspected your website and I saw that you are not right to add your elements in the page builder and that’s why you cannot bring good results. Notice that the Block 3 should have to be added in the same container where the Block 9 has been added, like this -> https://www.screencast.com/t/bbFm3mNZ and the result is here -> https://www.screencast.com/t/6fSm8yDc
For more information about using our page builder, please check here -> https://forum.tagdiv.com/tagdiv-composer-tutorial/
Thanks for your understanding!
Hello soheyla,
1)More modules will create a block. For more references about this elements, please check our documentation here -> https://forum.tagdiv.com/theme-blocks-modules/
2)If you will check this guide -> https://forum.tagdiv.com/theme-thumbs/ there you will find which are the thumbs used for each module.
3)You will use The Thumbnails Upscale if you want to enlarge a photo in case of you have an image too small than the thumb used for your modules/blocks and you want that your image to fit all the thumb and the Force Regenerate plugin will be used if you will encounter this issue, like this -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Hope this helps!
Thanks for your understanding!
Hi,
I can’t seem to be able to see a “Gallery” category on your website. I see a gallery page link in the top menu, but I cannot find a gallery category.
The option you mention in the theme panel simply removes the category tag you want, from posts and category pages. I thought you wanted to remove this tag only for posts.
For example you want to hide the “Get inspired” tag from this category page, and this post
– https://www.screencast.com/t/7vs87LgzprL
– https://www.screencast.com/t/Jx9vH23FCEw
That is the option you must select for that respective category. There is a way to hide the category tag only in the category page, with custom code.
Maybe I am misunderstanding this, please correct me.
For blocks you can control the category tag that is displayed on modules, by setting a primary category for the post
– https://forum.tagdiv.com/primary-category/
Or you can disable the tag by module
– https://forum.tagdiv.com/category-tag-on-modulesblocks/
Thanks
Hello,
Sorry but we have not tested this. The theme featured image only shows images added through the media library. If a plugin manages to upload a map ion the media library. A google map is not a standard image though and most likely will not work as a featured image. But you can simply embed it at the top of your post and use post style 5 which does not show the featured image on the post itself. You can create a thumb/screenshot of the map to set it as a featured image so it can show up in blocks as a map.
Thanks
Wait for FB to get their act together. Nothing you can do about it. We’ve been suffering with this across 10 news portals since Monday. Happens every few months, and usually starts when they are messing with some element related to image capture and their CDNs. It’s working a little better today, but yesterday everything just captured a box with site name in it and no image, text, etc.
Again “theme” has nothing to do with FB capture — if your meta data *is* there, and your content is there, that is what FB uses. Period. So, if you can see it, FB can see it unless you block them via firewall for some reason (we did that once).
Put another way — FB reads the opengraph data; tries to read that data in your meta data into their system, and capture the image linked to from your web domain (outside the theme, in your image folder). Theme has nothing whatsoever to do with your image loading from your image folder, nor anything to do with FB being able to read the open graph meta data on your page.
Anyway — we have been suffering this on and off since FB launched. So, it’s nothing new.
Hope that helped. (Probably not.) It usually clears up in couple of days.
I Have installed all plugins that you recommended but the featured images are cut off from both sides. Please help me to resolve the issue.
And also please answer the below questions
1)What is difference between Module and Block? In the Home page I use Block 24.
as shown in this link https://www.screencast.com/t/69CuVlkhfb. Is it Module or block?
2) What size image should I use for my block?(for above shown block)https://www.screencast.com/t/69CuVlkhfb
Thanks
1)What is difference between Module and Block? In the Home page I use Block 24.
as shown in this link https://www.screencast.com/t/69CuVlkhfb. Is it Module or block?
2) What size image should I use for my block?(for above shown block)https://www.screencast.com/t/69CuVlkhfb
3) So Should I Thumbnail Upscale and Force Regenerate them to above size?
Ok, great! I’d like to hide the one category “Gallery” on all of the posts, and in the blocks. I want it to be visible on the category pages, and that is all…for it to be hidden everywhere else. Thanks!