- 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 Mantis,
Unfortunately, we do not have any plan for this implementation in this future, sorry! As a hint, notice that you can achieve this behavior if you will use more blocks (for each block you set up a limit post number at 3, for example) then you insert an ad box and then add again this block and so lets of forth.
I hope that you understand me!
Thanks for the message!
Hi,
I´ve tried the “Big Grid 8” module on the start page (same as here https://demo.tagdiv.com/newspaper_tech/). The one with different gradient colors.
Some of the module/blocks don´t show the (meta info) Author and Date. Why?
How can I solve this?
/Tomas
Hi Catalin,
Are you considering (for a next release) the possibility to place ads between posts within a block?
Thanks for your answer
but it is a post not a page.
I do not use TD Composer. It is visual composer for this post.
https://ibb.co/mr1FqU
On all other posts (exept one more) from this template I do not have it.
For example here is the same template https://myukvisa.ru/tipi-viz-v-velikobritaniyu/biznes-viza-v-velikobritaniyu/
but no such block.
Thank you.
Hi
I created a custom post type and use categories. I added some lines to the functions.php in order for the categories to work for the custom post type (see below). Everything works, except the menu disappeared (https://staging2.wefrb.dk/category/restaurant).
Can you help?
add_filter( ‘pre_get_posts’, ‘my_cptui_add_post_types_to_archives’ );
add_filter(‘pre_get_posts’, ‘query_post_type’);
function query_post_type($query) {
if( is_category() ) {
$post_type = get_query_var(‘post_type’);
if($post_type)
$post_type = $post_type;
else
$post_type = array(‘wp_nav_menu’, ‘post’, ‘community’); // don’t forget nav_menu_item to allow menus to work!
$query->set(‘post_type’,$post_type);
return $query;
}
}
Hi support,
I need automatic scrolling for Block 16 Nex/Prev pagination.
https://i.imgur.com/9ThmPnV.jpg
How to do it?
Thanks
Hi,
You can see how all the predefined blocks look here
– https://demo.tagdiv.com/newspaper/block-1/
The 1 column design is used on mobile. So for example this block will not show the excerpt on mobile, it is hidden
– https://demo.tagdiv.com/newspaper/block-16/
What block are you referring to exactly? I will try to give you a solution.
Also be sure to try the flex blocks. These can be made to look in many ways, with a considerable amount of options. These are some examples for flex block 1
– https://demo.tagdiv.com/newspaper/flex-block/
Thanks
Hi,
So you want to display the via you set for the post in the post edit screen, in the excerpt of the block? That won’t work.
You could display it below the excerpt, it will require modifications in the code.
This is a similar topic if you want to display source and via fields in modules
– https://forum.tagdiv.com/topic/source-doesnt-work-after-update/
Thanks
How to change Widget color in footers
As in screenshot in this I want to change black footer 1, 2 & 3 colors but couldn’t as well as block layout.
https://i.imgur.com/bP7eobP.png
Hello vietnguyen,
Do you want an automatic scrolling for Block 16 Next/Prev pagination? Provide more details if this is not what you mean, sorry!
Thanks for your understanding!
Hi All,
Hope everyone is well!
I am currently suffering from a nasty xml-rpc.php bot attack on my site and want to disable that function comepletely. Before I do so can I ask if anyone knows whether or not the theme relies on this function to operate before I go ahead and block it? Many thanks in advance.
Best Wishes
Yep, same question, which Block 16. Can you help me?
Hi support,
I need autoplay block 16 when type Next Prev ajax.
Can you help me?
Thanks
Hi,
Bets you do it in a child theme so it will not be lost after a theme update.
As for the button colors, use this code – https://www.screencast.com/t/1p1BqfoV
.td_block_4 .td_module_2 .td-read-more a{
background-color: red;
color: black;
}
Change the colors as you wish, then enter it in Theme panel->Custom CSS.
Hi,
To understand you wish to have more articles on the block 9, and in order to do that you want to reduce the space between the articles,
fortunately there it’s an option for number of post all you need to do is to select the block 9 select general and in extra area you’ll find “Limit post number”,
from there you can set as many post (articles ) you want to be on the block.
Here is an example: https://www.screencast.com/t/PfdYT6aPl
If you steel want to reduce the space between articles please read this topic https://forum.tagdiv.com/topic/reduce-space-top-and-bottom-block-9/ , the cod it must be put in css section like in image https://www.screencast.com/t/v7at9O3xxX
Thank you.
No, those modules are different. In this case I can only place the tag in a fixed position, so if it’s larger or the article title is longer it will not look nice, the text will be covered up, it will not adapt.
Maybe leave it as it was before and reduce the font on mobile for example, so it will not cover the thumbnail so much
– https://www.screencast.com/t/wU17jycsovhH
.td_block_related_posts .td-post-category {
font-size: 8px;
}
Why do these categories Blockchain and Crypto News, Commercial Real Estate News, Events, General News, Hospitality News, Incentives
display under Viewpoints
The above categories are not subcategories of Viewpoints.
Newspaper V 9.1
Then select a block which shows an excerpt. You can test that using the different screen size features in td composer or by decreasing the width of your browser.
Hi, I want to reduce the spacing between lines for block 9. while maintaining the spacing for other blocks used
I want to reduce the spacing between one article and the other, so I can post more article in given space.
Thank you!
Hi,
Categories can be created the WordPress way, parent categories and child categories (or main categories and sub-categories). The theme will not interfere with creating categories as you want. Create them as needed.
Displaying posts from them in pages will not be a problem, our blocks, grids etc have many filtering settings
– https://forum.tagdiv.com/block-settings-guide/
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
For the header section there will be 2 menus, a top menu and a main menu. In the top menu you can add menu items normally, you can create drop-down menus there.
In the main menu you can do all that and for example mega-menus
– https://forum.tagdiv.com/mega-menu/
The “Fashion” and “Gadgets” in the live theme demo are mega-menus
– https://demo.tagdiv.com/newspaper/
Let me know if you have more questions.
Thanks
Hi,
Development site: http://www.wmw-dev.co.uk
I’ve created 4 cloud templates for 4 types of news articles on my site. Each of the following has its own template:
* Property
* Business
* Lifestyle/Fashion
* Viral/ Entertainment
All the other news pages (local, regional… etc) are just using the default theme template.
Within the custom cloud templates using tagdiv composer, I’ve placed up to three google adsense ads by copying and pasting the ad code into the correct place within ‘post content’. I’ve also given each ad a title so I can see where it should be within the code. If you check out this item (https://wmw-dev.co.uk/britney-spears-former-palatial-pad-on-the-market-again/) you can see the titles but not the ads. Ads are appearing all the other places they should be – side bar, headers etc and even within the custom themes where I’ve added them outside of the post content – e.g., the row of 3 blocks at the bottom of the link I’ve given. It seems to be top / inline / bottom within ‘Post content’ that aren’t appearing.
I’d appreciate any advice you can give and am happy to supply logins if required.
Hello rahulroushan,
Unfortunately, the theme does not have any such a block, sorry! If you want to have the random functionality you should simply choose this sort order from Block Settings. Check here -> https://forum.tagdiv.com/block-settings-guide/
Thanks for your understanding!
Hi,
@blawrimore I believe this topic will be helpful in this case, with the necessary modifications
– https://forum.tagdiv.com/topic/read-more-button-and-cant-change-title-color/
You could use a child theme in order to not lose the customization
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Or you could simply use a flex block instead of block 4
– https://www.screencast.com/t/cxwy1ql4
This also has settings for the read more button
– https://www.screencast.com/t/eMDt5tw3jK
Thanks
Is there anyway, say a button that can be added, clicking which refreshes or reloads only that particular block? I basically want to have a block that shows random post, and an ability that it shows another random post when a reader clicks that button. Currently the entire page will need to refresh or reload if a new random page has to be shown.
Please tell me how to add a Read More button and give it a specific background color for block 4 as used on https://advanews.com thank you