- 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 I aveh not set it to blogpost please see the images below Reading Settings
Your home page displays Your home page displays
All this a=has happened since the last update I hahe tried changing the pa to another page the changing it back I have cleared the chace in fact I have disbled all other plugings so the only plugins running are yours I do believe that this is your problem Ind I need it to be fixed I can give you the login details for the site so your techs can fix it
regads Les
Your latest posts
A static page (select below)
Homepage:HOME
Posts page:— Select —
Blog pages show at most
5 posts
Syndication feeds show the most recent
5 items
also from theme customazation page
Your home page displays
Your latest posts
A static page
Home page HOME
+ Add New Page
Posts page
— Select —
+ Add New Page
also here is what is being displayed
[tdc_zone type=”tdc_content” tdc_css=”eyJhbGwiOnsiYm9yZGVyLWNvbG9yIjoiI2Y5ZGQ0ZCIsImRpc3BsYXkiOiIifX0=”][vc_row][vc_column][td_block_big_grid_slide category_id=”147″ el_class=”donotlazyload”][vc_empty_space][/vc_column][/vc_row][vc_row][vc_column width=”2/3″][td_block_ad_box spot_img_horiz=”content-horiz-center” spot_id=”custom_ad_5″ custom_title=” ” f_title_font_weight=”700″ f_title_font_family=”fs_9″ spot_code=”JTI2bmJzcCUzQiUwQSUwQSUzQ2ElMjBocmVmJTNEJTIyaHR0cHMlM0ElMkYlMkZ3d3cuY29uc2Npb3VzbGl2aW5nZGlyZWN0b3J5LmNvbS5hdSUyRnZpcC1tZW1iZXJzaGlwJTIyJTNFJTNDaW1nJTIwY2xhc3MlM0QlMjJzaXplLWZ1bGwlMjB3cC1pbWFnZS0yODMxNSUyMGFsaWduY2VudGVyJTIyJTIwc3JjJTNEJTIyaHR0cHMlM0ElMkYlMkZjb25zY2lvdXNsaXZpbmdtYWdhemluZS5jb20uYXUlMkZ3cC1jb250ZW50JTJGdXBsb2FkcyUyRjIwMjQlMkYwOCUyRkNsLURpcmVjdG9yeS00MDAteC0yNzMtcHgtODAwLXgtNTAwLXB4LnBuZyUyMiUyMGFsdCUzRCUyMiUyMiUyMHdpZHRoJTNEJTIyODAwJTIyJTIwaGVpZ2h0JTNEJTIyNTAwJTIyJTIwJTJGJTNFJTNDJTJGYSUzRSUwQSUwQSUwQSUyMA==”][td_block_2 category_id=”452″ post_ids=”News” td_ajax_filter_type=”” custom_title=”What’s New” limit=”6″ header_color=”#3aa4af”][td_block_ad_box spot_img_horiz=”content-horiz-center” spot_id=”custom_ad_5″][td_block_2 category_id=”155″ custom_title=”Coming Events” ajax_pagination=”” header_color=”#4db2ec” td_ajax_filter_type=”” block_template_id=”td_block_template_1″
Hi,
Thanks for your answer.
The « save element » button is a part of the answer we’re looking for but not completely. The problem with this solution is that we can’t edit styles of our block and apply them to all of its implementations.
We tried a trick: create a flex block 3, save as a new element, use it in a module and then import this module in a flex block builder. With this approach, styles can be reused. But the posts list can’t be overridden due to filters and loop processed in the module part and not inside the block. So, with is, it will require duplicating our module for all its implementations and we’re back at our first problem.
https://devenirbilingue.com/wp-content/uploads/2024/12/screenshot-TagDiv.png
Are we missing something? Do you have a solution for this case we want to solve? Is there no way to do so? Let us know.
Thank you so much.
Emma
Here’s a link to a post that is using exactly the same elements/blocks and added in exactly the same way, and everything appears just fine.
Ok, still not getting it after reading that settings guide. Cant add an image here to clarify. I want to keep the styling settings of that block and just click on filter and select my ‘news’ category to pull in the article in that category. There are at least 10 articles available so something should come up. The block is however still saying ‘no posts’.
Dear…
We want to change the background color of the category labels that appears in the list of the various blocks (ex: block 11)
It is currently black for all categories
How can we do that?
Thks
Hi,
Ok. I recommend setting the block like in our guide https://forum.tagdiv.com/set-block-inside-post-content/. You need to create a page, design the block as you want, and after, set the code of the block inside of the single post content in the ads section.
Thank you!
Looks like it’s an Otter block. When I click on the plus sign, then search for “posts”, the one I chose has a res icon. Does that help?
Hi,
So it is the block from the Gutenberg?
Thank you!
Hello,
There are more alternatives. You can create your own modules, or you can save with right-click https://i.imgur.com/EVyX8tW.png the blocks that you have designed as you want and use them wherever you want on the website.
Also, you need to import a module and after assigning it to the flex block builder -> https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!
Hello,
Please let me know how you added the block to the post.
Thank you!
Hello,
Please make sure that you have filtered the block correctly. For each category, on the flex block there is a special filter for the current category, which dynamically displays the posts from that category within each category -> https://forum.tagdiv.com/flex-block-settings-guide/
The Posts Loop automatically filters the posts depending on the cloud template you set (for example, on the category page, there will be posted posts from that category) https://forum.tagdiv.com/posts-loop/
Please check the block with “No posts” and delete it the offset number; leave it empty with no space or value: https://app.screencast.com/Gh9jDf6t0XtLS
Thank you!
I have a Posts Block on a page. There are 9 items that fit the filter, and it is set to show the first 6 on the first page with 2 rows of 3 each. Pagination option is on. Everything looks fine in the editor, but when I look at a preview or the live site, the 2nd row distorts the featured images of the posts. The first row on the second page looks fine. I’ve tried deleting the block and adding it back again, same thing. I’ve also tried changing the dates of one of the posts, so it moves from the 2nd row to the first. The image for that post now appears fine in the 1st row, and all 2nd row images are still distorted… even the one that moved from the 1st to the 2nd row that was fine now appears distorted.
Some other tries… If I keep it at 6 posts but 3 rows instead of 2, the first 3 posts show fine, but the next 3 are distorted. I also tried 1 row of 3 each, and all shows fine on all 3 pages. If I change it from Grid to List, same distortions are seen.
Here is the url:
https://www.justhacking.com/types/upskill-challenges/
I tested this on multiple browsers and platforms. Some show everything just fine, but most have the distortion.
Windows Desktop:
– Chrome and Edge look distorted
– Firefox is fine
Android Mobile:
– Chrome and Edge look distorted
iPhone Mobile:
– Safari is fine
Thanks in advance for your help,
Don
Hi,
We’re developing a WordPress site using the Newspaper theme and TagDiv with blank Cloud Templates modules, and need advice on creating reusable custom blocks. Our goal is to:
Create modular, reusable blocks that maintain consistent styling
Avoid redesigning blocks each time they’re needed
We’re looking for a way to create modular, reusable blocks that maintain consistent styling, and avoid redesigning blocks each time they’re needed. We need to build complex layouts where posts have different display formats, for example:
First post: Title only
Second and third posts: Featured image + title
Here is a visual example of what we want to achieve: https://devenirbilingue.com/wp-content/uploads/2024/12/screenshot-sandbox.png
The main issue is that flex blocks cannot be used within Cloud Library modules. While I can use Flex Block 3 when editing a regular page to achieve the desired layout, this functionality isn’t available in module editing. Creating the layout directly on a page isn’t practical, as it would require re-styling the block every time it’s needed.
We attempted to analyze existing Cloud Templates by importing them into new modules to understand their flex block implementation. However, we encountered what appears to be a bug, receiving the error: “The Cloud Library Module Template set for this block is not valid or it no longer exists. Please select another Module Template.”
What could we do to build custom and reusable blocks modules? Did we miss something? Any help will be appreciated.
Thank you.
Hi,
I imported the Gossip Pro template but want to assign other categories to the first blocks. When I do that (e.g., a category news) the block stays empty. By default it uses some sort special filters? How can I fix this? When I add a new Flexblock 1 it doesn’t work either as I cant reproduce that same style.
Currently the CPU shows at 19%. When I installed Newspaper, the CPU usage went up to 72%. At first I thought it could be that I was getting DDos’d. I blocked certain countries. Still going up. I tried Newspaper on three domains.
I registered the theme with the key thing then unregistered, repeat for the second one then the third one. I was not using Newspaper on three sites at the same time.. Now that that is out of the way…
I removed Newspaper…It’s been under 25%.
So…why is server CPU so high when I have Newspaper. I want to install it back on one of my sites. But I can’t justify the high CPU usage.
Could it be third-party widgets like the instagram or social media counters?
FOR THE RECORD: I THINK NEWSPAPER IS A GREAT THEME.
No caching app is being used, and the cache option isn’t enabled on the blocks. I do use the auto-optimiser that the theme recommends using – could that be causing interference?
If there are others with the same request, I think this code will do it (Add it to your child-theme functions.php)
/* ----------------------------------------------------------------------------
Enable date-based filtering for popular posts
*/
define('TD_POPULAR_BY_DATE_ENABLED', true);
add_filter('td_data_source_blocks_query', function($wp_query_args) {
if (isset($wp_query_args['sort'])) {
$wp_query_args['popular_by_date'] = true;
}
return $wp_query_args;
});
Now you should see a new option under the “Sort order” called “Popular by date” which you can enable or disable.
Hello,
Unfortunately, your screenshots don’t help me understand what you are trying to achieve.
You can remove the padding -> https://i.imgur.com/uqtn60a.jpeg and align them as you want.
You can set it here in the CSS tab to inline-block https://i.imgur.com/JLgwkA0.png
Please provide some screenshots of you mean by the my account.
Thank you!
Hello,
1. I think that you have a menu, so please check what menu you have there and check if there is the element in the menu -> https://i.imgur.com/oJZoWci.png
2. Did you have a child theme? Because this block that you use now doesn’t have the option to show the excerpt. I recommend replacing the blocks 1-25 with flex blocks and Big grid blocks, with big big grid flex.
3. and 4. I think that was also made in the child theme, so to replace them and set the text on the read more button, I suggest using Flex Block to adjust the layout as you want.
5. You can disable them from here https://i.imgur.com/bVkiE34.png
6. This is the menu, so you need to assign a menu here https://i.imgur.com/B73w82P.png
Thank you!
Hello,
Please make sure that you have filtered the block correctly. For each category, on the flex block there is a special filter for the current category, which dynamically displays the posts from that category within each category -> https://forum.tagdiv.com/flex-block-settings-guide/
The Posts Loop automatically filters the posts depending on the cloud template you set (for example, on the category page, there will be posted posts from that category) https://forum.tagdiv.com/posts-loop/
Please check the block with “No posts” and delete it the offset number; leave it empty with no space or value: https://app.screencast.com/Gh9jDf6t0XtLS
Thank you!
HI,
What cache plugin do you use? Also, do you have the cache option enabled on the blocks https://i.imgur.com/WkFwOWI.png?
Thank you!
Hello,
On the flex block, you can show only the excerpt, so if you have added the subtitle there, then make sure that you have set it to show it -> https://i.imgur.com/5QKHTfn.png
Also, if you have set them in the custom field, then you need to create a module and use Flex Block Builder to show it.
Thank you!
Hi
thank you,
Now i got it
i will add profiles in secondory titles
Now please tell me Flex block1 we are using in home page
here how to display secondary titles Please guide me this
+1
I think this is worth adding to the list of feature suggestions.
Ideally, it would be great to have an option in the filter panel of flex blocks to ‘show sticky posts.’ Whereby sticky posts are shown first, followed by the other filters as normal.
Would be helpful in allowing authors the ability to pin posts, without needing to access or change page templates.
Hello,
A workaround is to set the subtitle in the excerpt section https://i.imgur.com/SogpdEY.png , which is displayed on the block to have it on the homepage. Alternatively, you can use a custom field -> https://forum.tagdiv.com/custom-fields-support/and create your own module to show the custom field -> https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!