- 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,
You can use the custom filed element and create your own module using the module builder, flex block, and flex loop builder to show the modules.
-> https://forum.tagdiv.com/custom-fields-support/
-> https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!
Hello,
Please let me know what filter you use for category templates.
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.
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/
If there is an offset set, please check the block with “No posts” and delete it. Leave it empty with no space or value: https://app.screencast.com/Gh9jDf6t0XtLS
You can find the documentation here: https://forum.tagdiv.com/offset-feature/
Thank you!
Hi,
You can set the custom label in the posts editor-> https://i.imgur.com/gTtAQRv.png, which will be displayed for Flex Block and Big Grid Flex -> https://i.imgur.com/3Uop58r.jpg. this element can’t be added in Single Post Template.
Thank you!
Hello,
The settings are the same for all prebuilt websites.
To have the number pagination, you need to edit the category template with tagdiv Composer, select the block and change the pagination -> https://i.imgur.com/34WAAxP.jpeg
You need to use the posts loop instead of the flex block 1 to have the number pagination.
Also, on our channel https://www.youtube.com/channel/UCOT1RiNysIPCTPSnVZskwtQ, you can find more videos that can help you and documentation https://forum.tagdiv.com/newspaper-theme-documentation/ and you can ask us here on the forum or email if you have any questions.
Thank you!
Hello,
The post list is used when you have a fronted submission. To show your posts I recommend using Flex blocks or Big Grid flex blocks -> https://forum.tagdiv.com/flex-block-settings-guide/ -> https://forum.tagdiv.com/big-grid-flex-settings/
Thank you!
Hi,
is there a way to display the custom label in a CloudTemplate für CPTs?
You can for example show/hide the custom label in the flex block 1 as a feauture, but I couldn’t find a shortcode that adds the element in the posts Cloud Template.
Thank you!
Hello!
1. Apply these settings to your block in the tagdiv composer: https://app.screencast.com/GvC5ySBSgvtaC (Set a white color.)
2. I see that the review category, which is the primary category set, is displaying well there. Only one category will be displayed there.
3. Unfortunately, no.
4. Edit the block and check the element padding options in the Layout tab. Apply 0 there, or let only the space from above.
Thank you!
Where should I place the code for the ad-blocker bypass message on my website?

I just noticed that your email support added a code snippet that fixes the issue, I will share it for anyone who encounters this problem:
moreButton.addEventListener(‘click’, function() {
if (dropdownList.classList.contains(‘active’)) {
dropdownList.classList.remove(‘active’);
dropdownList.style.display = ‘none’;
} else {
dropdownList.classList.add(‘active’);
dropdownList.style.display = ‘block’;
}
});
Have a great day! 🙂
Sorry – a filter on this end was blocking the site. Got it now. That’s sorted the home pages. How do I achieve the same on past pages like this one:
https://www.bitemagazine.com.au/the-role-of-curcumin-in-oral-health/
I’ve tried turning sticky sidebar on and off in the template settings but not having any luck.
Hello,
You can use the flex blocks and set on them what category of posts you want to show, and then this block will display the same posts for all categories; if you set the 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/
Thank you!
Hello!
You can have a search template for each CPT: https://prnt.sc/oDgTnkgOCFFC
You should specify the post type for the search form and also on the flex block in the search template that displays the results. Unfortunately, you cannot have two search templates. A CPT can have its own search template, which will show the results only from that CPT’s information.
Thank you!
Hello Paolo,
Normally, for all social icons is added the name https://i.imgur.com/8aREMDY.png
The social icons from the mobile menu come from the Theme Panel -> Social/Apis -> Social Networks -> https://i.imgur.com/kKYIECB.png. Remove/edit them as needed.
Flex block shows the image like a background image, not using the parameter img and this one wouldn’t need a description.
Thank you!
Hi Man Kam, those seems to be some attacks on the website and those are creating requests on your website.
Such attacks can take from a few days to a few months. Besides fixing the vulnerability issue in the theme more then a year ago, there isn’t much else we can do. Attackers can still attack websites if they want to. Any theme or plugin can have vulnerabilities at some point – https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-themes/ and attackers will try to take advantage of it. Besides keeping the theme and plugins updated, a security/firewall plugin should be active on the website, or on the hosting side. This won’t stop the attack, but it will prevent the attack from being successful.
What you can do is to use Wordfence and CDN to block the attacks on “/wp-json/tdw/save_css”. If you are blocking the IPs that make that request on your website, then eventually the attack should end. But there’s no way to say how long it will take until the attack will stop. Sometimes it takes a few days, but it could take months until the attackers move on.
Thank you!
[msg 2]
Please note that the path mentioned in the previous thread relates to your plugin for Newspaper and Tagdiv plugin/theme. So if we block that URL, it will cause the sources on your app to malfunction. Therefore we recommend that you first contact the Newspaper theme team to get this sorted out. If they share with you that we can block this URL, then sure we will go ahead and proceed on this action.

Or if you want us to block it directly then you can reply back simply.
Dear suport team, I get the system msg from server, for high CPU usage from theme & tagdiv
[msg 1]
Osama Hilal Zafar August 06, 2024 10:53
Hi Km,
Most of the call seems to be at save_css json call

Which we believe may have caused the issue. There has been a reported vulnerability of the same call https://wpscan.com/vulnerability/e6d8216d-ace4-48ba-afca-74da0dc5abb5/
In case if the same path is no longer being utilized, it can be blocked via htaccesss an example would be
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-json/tdw/save_css
RewriteRule ^(.*)$ – [F,L]
If you have any doubts on this, please do reach out.
I have a block for the footer 2 -don’t know where to go from here
<!– wp:paragraph –>
<p>DISCLAIMER: The health and wellness information included on this website is not a substitute for or a replacement of professional medical advice, diagnosis, or treatment.</p>
<!– /wp:paragraph –>
Hi Anamaria,
thank you for the prompt reply and the assistance!
I followed your recommendation and used the live header search, problem solved!
For social icons, on reading your screenshot I eventually realized my problem is in the social icons that appear in the mobile menu (clicking on the “sandwich” top-left), as next to facebook and linkedin there there is also the email icon/link which is not in the social icons in the footer desktop version. I am looking in the theme/composer settings but I can’t find from where can I manage that menu. Of course I don’t mean the menu itself, I am trying to reach and manage those icons that appear just above the menu.
Regarding the other errors, I understand what you said regarding the design of the theme, although with the only addition of a free plugin I am using it’s scoring pretty high, just below the pass threshold.
Is there any way I can add some code to flex blocks so that the image too has a description attached to the link?
Again thank you so much for the help!
Paolo
Hi. Thanks for the info.
let me just be a little more precise. I need template paths for blocks with these names:
– Posts Loop / https://imgur.com/a/73ktqUj
– Flex Box 1 to Flex Box 4 (you already provide this info)
Posts loop is the important one.
Regards,
Vladimir
Hi,
I use Momentum preset from Newspaper theme for my website http://www.mesh-impact.com
I have an issue with layers that are added on top of an image and I cannot find how to remove it.
I’m providing below the piece of HTML Code that generates the display :
<div class="wpb_wrapper td_block_single_image td_block_wrap td-animation-stack vc_single_image tdi_243 td-hero-graphics-layer-1 td-slide-img td-single-image- td-pb-border-top td_block_template_1" data-td-block-uid="tdi_243" style="transform: matrix(1, 0, 0, 1, 8.55357, 2.7551);"><span class="td_single_image_bg td-lazy-img td-animation-stack-type0-2" data-type="css_image" data-img-url="https://www.mesh-impact.com/wp-content/uploads/2024/06/hero-graphics-layer-1.png" style="background-image: url("https://www.mesh-impact.com/wp-content/uploads/2024/06/hero-graphics-layer-1.png")"></span>
<style>.tdi_243{margin-bottom:0px!important}</style>
<style>.tdi_243 .td_single_image_bg{height:auto;padding-bottom:105%;background-size:100% auto;background-repeat:no-repeat;background-position:center top}body .tdi_243{width:100%}.tdi_243:hover .td_single_image_bg:before{opacity:0}</style></div>
I’ve searched for hours where this image is added in the Tagdiv builder, but wasn’t able to succeed.
Help would be appreciated.
Thank you very much
Emma
Hello,
You can apply the filter only on the Flex Block and Big Grid Flex -> https://imgur.com/Nnt3zGX
The Posts Loops settings are divided into 5 tabs: General, Layout, Style, ADS and CSS. The Posts loop is a special block and doesn’t have filtering options.
Also, one of the pagination options of the Posts Loop has the option for normal numbers, and the flex blocks do not have this option.
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).
Thank you!
Hello,
For the issue with the image link, you can try to use this option -> https://i.imgur.com/LmJjrn7.png
For posts loop this is the path wp-content/plugins/td-cloud-library/shortcodes/common/tdb_loop.php and tdb_loop_2.php
For flex Block 1 you can find the files in these paths
wp-content/plugins/td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php
wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php
and for single this path wp-content/plugins/td-cloud-library/shortcodes/single
Thank you!
Hello Jose J.!
You can manually specify the tag ID here: https://app.screencast.com/d5ZnNlghrb4JA
There is an option in the Flex block called Filter by tag slug that work well in the latest version of the Newspaper theme. Here is the guide: https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hello!
I am trying to get my website https://www.museooggi.it compliant with WCAG 2.0 A and I am using a Chrome browser extension (Accessible Web Helper Extension https://chromewebstore.google.com/detail/accessible-web-helper/gdnpkbipbholkoaggmlblpbmgemddbgb ) to evaluate errors.
Analyzing the home page https://www.museooggi.it :
I get a “critical” (in the terminology of WCAG) error affecting the “search form” as it is expected to have a label while it has not. Where can I add a label description to the “search form” so this wcag requirement is met?
Also, I get a “serious” (in the terminology of WCAG) error affecting every element of the page that is the image part next to the text (I am using Flex block 1 and Flex block 2 displaying image next to text)
and my checker says the problem here is that links must have discernible text. In addition to the mentioned visual elements from Flex block 1 and Flex block 2 also the social icons at the bottom of the page are affected by the same error (email, facebook, linkedin).
Where can I add text so that the link part of the image elements are described?
Thank you for your assistance!
Paolo
Hello,
Please provide more details about what custom content you are referring to. Also, if you want to show a page in the block you can set the page id or post type -> https://i.imgur.com/Yu0OVaH.png
Thank you!