- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Here’s an example:
On the demo homepage of newspaper_cali_sight_pro
https://demo.tagdiv.com/newspaper_cali_sight_pro/
If you look at the HTML source code, you’ll see some strange CSS code on the ACF fields. The front-end display is correct, but the problem is that this CSS code affects SEO.
Featured attractions
.tdi_172{margin-bottom:10px!important} .tdb_module_title{display:block;position:relative;margin:0;font-family:var(--td_default_google_font_2,'Roboto',sans-serif);font-size:21px;font-weight:400;line-height:1.2}.tdb_module_title a{transform:translateZ(0);transition:box-shadow 0.2s ease;-webkit-transition:box-shadow 0.2s ease}.tdb_module_title .tdb-module-title-excl{font-family:var(--td_default_google_font_2,'Roboto',sans-serif);color:#fff;background-color:#ff0000;padding:4px 8px 2px;margin-right:8px;font-size:14px;font-weight:500;line-height:1;vertical-align:middle}.tdb_module_title .td-element-style{z-index:-1}.tdb_module_template_637 .tdc-row .tdb_module_title_0{text-align:left;font-family:var(--sans-serif)!important;font-size:16px!important;line-height:1.2!important;font-weight:500!important}.tdb_module_template_637 .tdc-row .tdb_module_title_0:hover a{box-shadow:inset 0 -1px 0 0 var(--cs-black);color:var(--cs-black)}.tdb_module_template_637 .tdc-row .tdb_module_title_0 a{color:var(--cs-black)}.tdb_module_template_637 .tdc-row .tdb_module_title_0 .tdb-module-title-excl{display:inline-block}River City Queen
.tdi_196{margin-bottom:10px!important}Cielo Balloons Temecula
.tdi_220{margin-bottom:10px!important}Trail Park Beach
Hello, update:
after a lot of search and AI tools assistance we used the following funcntions that loads 2 css files that were not loading before (checkout.css,checkout-rtl.css).
We noticed that there are still some minor css issues but at least page is functional.
So please allow me to ask once more. What are the files that should load in checkout/cart with blocks and if you know what can be the issue that they dont load in our case. We dont consider the issue fixed until the cause is located and extra code is removed.
Kind regards,
Alexandros S.
Please do notify a.sklepas@webpoint.gr
thank you.
/**
* Load ONLY WooCommerce Blocks Checkout CSS on Cart / Checkout / Order Received.
* Files:
* – /wp-content/plugins/woocommerce/assets/client/blocks/checkout.css
* – /wp-content/plugins/woocommerce/assets/client/blocks/checkout-rtl.css
*/
add_action(‘wp_enqueue_scripts’, function () {
if ( is_admin() ) {
return;
}
$is_order_received = function_exists(‘is_order_received_page’)
? is_order_received_page()
: ( function_exists(‘is_wc_endpoint_url’) && is_wc_endpoint_url(‘order-received’) );
if ( ! ( is_cart() || is_checkout() || $is_order_received ) ) {
return;
}
$dir = WP_PLUGIN_DIR . ‘/woocommerce/assets/client/blocks/’;
$url = plugins_url(‘woocommerce/assets/client/blocks/’);
// LTR checkout CSS
$ltr = $dir . ‘checkout.css’;
if ( file_exists( $ltr ) ) {
wp_enqueue_style(
‘kynigesia-wc-blocks-checkout’,
$url . ‘checkout.css’,
array(),
filemtime( $ltr )
);
}
// RTL checkout CSS (only if site language is RTL)
$rtl = $dir . ‘checkout-rtl.css’;
if ( is_rtl() && file_exists( $rtl ) ) {
wp_enqueue_style(
‘kynigesia-wc-blocks-checkout-rtl’,
$url . ‘checkout-rtl.css’,
array( ‘kynigesia-wc-blocks-checkout’ ),
filemtime( $rtl )
);
}
}, 100);
Hi,
Please check the settings, the new categories are categories or subcategories? If are subcategories are under an existing parent category that is set as a mega menu?
For example: Fashion is my parent category and subcategories are: New Look, Street Fashion, Style Hunter, and Vogue https://prnt.sc/npJ0wbXv9AsM make sure that you have articles in each category/subcategory. After that in Appearance> Menu on my header menu I added the custom link and set the name Fashion and make it a category mega menu https://prnt.sc/mLQLcyrGylnz and now on webiste I have this https://prnt.sc/Q_93EnhPh9ZY
If you want, we can also look at your setup. If you agree with this, you can contact us via email at contact@tagdiv.com and provide temporary wp-admin access and as many details as you can related to the settings you’ve made so far.
Thank you!
We have Subcategories, for example Lifestyle > Moda. In Fashion we have the filter of that exactly category, but it’s showing also the father category posts (Lifestyle).
We need to show only the Moda subcategories posts.
Hi,
Normally what you need to do is to make redirects so when someone acces an url taht was indexed as amp to be redicredted to the normal version (non amp version) and after a period when the google reindex your webiste this redirect can be remvoed.
Please use this guide: How to Disable Google AMP for WordPress Websites
Hola.
Sí, se trata de un dominio antiguo ya (más de 5 años).
Le he pedido a mi proveedor que me diga qué pasa si desinstalo por completo AMP. El problema que tendré para configurar tal y cómo dice @simchris.
No sé cómo hacer eso…
Hi,
Ok, so I just checked this situation, and it appears that some images are being replaced with a WebP image (for example, https://novusnews.eu/tech/4-android-apps-you-should-delete-2026/), but not all of them. It’s possible that something else is interfering. I can see that the preloaded image is the WebP version, but it is not replacing the main image with the WebP format.
Please clear the object cache and all other caches. Also, exlude the featured image from lazyload. After that, log in using incognito mode and check if the correct version is being used.
Con respecto a la opción de eliminar el logotipo del tema en la versión movil, he llegado hasta aqui: https://opinandosinanestesia.es/wp-content/uploads/2026/02/2f382000-9bef-42aa-9b0a-f3e474fe598e.jpg. He navegado en diferentes pantallas pero no logro localizar la ruta exacta. ¿Cuál es?
He modificado, según indicas, el AMP para corregir el problema del menú en la version movil, lo hice, refresqué, y parece que ahora funciona…
Hi,
The mobile logo should be checked using the tagDiv Composer as mentioned above, the theme panel settings will apply only in case that no logo is set using tagDiv Composer, but the header you have in use has the logo set using the tagDiv Composer.
The menu problem is related to the amp plugin, if you’ll disable the mobile redirect to amp or remove teh amp plugin, the problem will be resolved – https://prnt.sc/NibvVYdgSGi3
Thank you!
Hi,
If you want to remove AMP, simply disable it and then ask Google to reindex your website. The AMP link will then be removed from Google Search results.
If this is a new website, it most likely has not been indexed yet. However, if it is an older website and Google has already indexed the AMP version, and you want to remove it, you can follow the steps provided by @simchris – https://forum.tagdiv.com/topic/kiss-amp-goodbye/
Best regards
He actualizado la última versión del tema, pero continuamente me da error debido al plugin AMP y se desconfigura toda la web. ¿Es necesario para el tema mantener ese plugin o lo puedo eliminar sin problemas?
Gracias.
https://opinandosinanestesia.es
Hi,
You can use the tagdiv Composer to edit the header and add any element you like, such as a button, an icon, or a link to another page or section.
If you have a website example with a specific call-to-action element in mind, please share it with me, and I’ll guide you on how to set it up.
Thank you!
En el home (supongo que tendrá que ser en el menu), quiero poner una llamada a la acción para captar lectores, pero quiero que sea algo llamativo, algo que llame la atención al entrar a la web, pero tampoco quiero que sea un popup. ¿Cómo puedo hacerlo?
Gracias
Hi,
This is not related to the theme updates, the file was made in 2021, and the last edit was in 2022 – https://prnt.sc/QCO_ijN0bNjc, so if the problem appeared only now, it was related to something else if the problem started just 19/02, maybe the amp was used without teh tagDiv Mobile theme plugin and only after your last update you also installed the tagDiv mobile theme to use it for amp?
Thank you!
Calin, good evening. This 404 error is only increasing in Google Search. One solution is to effectively edit wp-content/plugins/td-composer/mobile/header-amp.php to include nofollow parameters? A curious situation is that this error has never happened to us over several years – and with the increase reported by Google, we are concerned about our site’s ranking being lowered in the search engine. Is this a theme update issue?
I can edit the file directly from WordPress; could you guide me on how to do it?
Thank you.
Still good to see image so I can see we’re talking about the same thing. And it looks as if we are. Rather than meddle with the code, I might live with it for a while. But to be clear, is this a WP or theme change? I notice now also that Post Settings once again appears at the bottom of the editor on scrolling, which I like. I didn’t like having to deal with a separate panel for this, which made the page vertically cramped. It’s strange how WP moves forward and reverts simultaneously.
Hello,
After a recent update, I’ve noticed inconsistent behavior when loading my primary blog page at:
https://www.macworks.com/blog/
At times, the page loads as expected, showing the correct homepage layout and content. However, intermittently, the same URL displays a different or incorrect version of the page.
This is occurring using the same browser and URL, without any changes on my end between page loads.
I’ve included two examples below:
• Example 1: Expected homepage appearance
• Example 2: Alternate/incorrect page rendering that sometimes appears
Could you please review this behavior and advise what might be causing the inconsistency? I’m trying to determine whether this is related to caching, theme behavior, or a recent update.
Thank you in advance for your help.
Hi Calin,
You can now see an example of the gallery not working as expected at this url.
Look forward to hearing from you.
Hi,
You can edit pages with tagDiv Composer, and you can adjust them per viewport – nw related to the rest of the template, those are adjusted automatically – https://prnt.sc/NffzTKwlcLj8 – https://prnt.sc/hagGObPWlfsw
The responsive version will be used on mobile if the mobile theme plugin is disabled or in case this is set to be used only for amp – https://prnt.sc/WdYszFb0W7A9
Hi,
Using the mobile theme and amo will display for users a simplify verion. When are used together as in your screenshot, the same simplified layout will be displayed on both mobile and amp. If you want to have the responsive version on mobile, then use the mobile theme only for the AMP (select the last option from your screenshot), then the simplified version of the mobile theme will be used for AMP and the responsive version for mobile.
Now to stop the parameters from appearing anywhere, there are 2 options: stop using amp or edit the file wp-content/plugins/td-composer/mobile/header-amp.php (most users have given up on amps these days, as they are no longer needed as they were in the past)
Thank you!
Hi. I need help getting a flex block to show only one category. If I select “all categories” (the default option) it displays a post as expected. But if I select a specific category, it says “no posts” and will not display any posts, even though we do have posts with the specific category assigned. Can you explain what we are doing wrong and how to get the block to display posts from a specific category?
I am including a link to screenshots showing the filter settings and the resulting display that is rendered when “all categories” is selected in the category filter and also attached screenshots showing the filter settings and resulting display when we select “travel” in the category filter. We have also included a screenshot of the posts page to show that there are posts with the “travel” category assigned.
The site is currently in early development and can be viewed here: https://wbh.jji.mybluehost.me/website_195199ee/
Thanks in advance for your help working this out.
Hi,
but do I have to add the path to deferred mode? I’ve been using Wp-Rocket for years and have deferred mode enabled. Below, I can exclude the JS from this mode. And then: do I have to add the path? For example: /wp-content/plugins/td-composer/legacy/Newspaper/js/tdMenu.js?
Thanks
Alex
Calin, good morning. Thank you for your reply. I’m using the theme plugin and AMP. If I do the opposite, it works – disabling AMP and leaving the theme plugin enabled – since my mobile ad settings are active via the theme. I await your response.
Hi thalesbrandao,
Is the mobile theme plugin used with AMP? And is this set only for AMP?
If so, the solution will be to disable the mobile theme plugin and use the Amp plugin alone. The code containing those parameters is part of the mobile theme plugin and is applied when the mobile theme plugin is enabled with the amp plugin.