- TutorialsDefault Block Settings Guide
I am using WordPress engine with cloudflare. The site is on the Newspaper theme. The same can be found here
https://newspatron.com
I recently installed a plugin in order to optimize cloud flare. The plugin is Super Page Cache for Cloudflare. It speaks of adding the rules to configuration file.
“Browser caching rules
Open the configuration file of your domain and add the following rules:
location ~* \.(xml|xsl)$ { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0”; expires -1; }
location /robots.txt { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0”; expires -1; }
location /wp-cron.php { add_header Cache-Control “no-cache, no-store, must-revalidate, max-age=0″; expires -1; }
location = /wp-content/wp-cloudflare-super-page-cache/newspatron.com/debug.log { access_log off; deny all; }
Save and restart Nginx.”
Please let me know where the same could be added as obviously i am on Nginx.
Thanks
Hello, I am Using newspaper theme. Its aswsome features totally i loved it. I have small problem with header. i want to Assigning a custom header to a specific page.
For example:
I am Specified one of the my header to homepage. I want different header for Single posts and Pages (not for home page). Because i am using overlay option to my homepage header. its not good for single posts and pages.
Hi Calin,
So it appears that Sidebar Ad is the only ad slot that behaves differently (in regards to width of the image ad placed as a simple html code – it stretches and distorts it) from every other ad slot (such as header ad, footer, ad, custom ad).
If is intended this way by the theme developer – it is fine.
However, it makes zero sense why it would be intended to work this way – to basically intentionally ruin the image ad placed as an html code in the sidebar, when viewed on the mobile screen max width 767.
Hello,
On my website i have mobile plugin and amp plugin installed.
On the mobile plugin i choose Mobile + AMP
On the AMP plugin : Transitional mode with only AMP version on posts
I have a cloud template header and footer with mobile customized version.
When i navigate on my website in mobile all is perfect (menu, header, footer) in all the pages, but when i go to a post i have two choice : the mobile version i customized in cloud template with the header, the good fonts, colors,… and the AMP version with zero customisation, the website looks very bad.
I try to change the AMP version of the website in Theme Panel > Mobile Theme > Theme color, Theme fonts but no change !
2 questions :
– it’s possible to serve the mobile version customized in cloud template on the AMP version ?
– If the answer at the previous question is no, how to customized the AMP template ?
Sorry for my approximate english.
Thanks
Hi Team,
I have enabled the social network on header of my website, when i am giving them my account handle name from WordPress panel they are Creating wrong URL in frontend.
For your reference I have pasted both frontend and Backend Screenshot. Please do let me know if anything else is required from my end.
Frontend
Backend
Further, when I am trying with this URL : facebook.com/shareyouranxiety22/ then it is showing https://shareyouranxiety.in/facebook.com/shareyouranxiety22/ which is also wrong.
Can you look into it and resolve this ASAP
We understand. This functionality has been working also on our website until now. However, out of nowhere, it has stopped, and the mentioned issue arises. Furthermore, whenever I insert a table of content into an article, the appearance of the sidebar widget header changes unnaturally – it looks strange. In articles without a table of content, the sidebar widget header looks as it should.
Could you please assist me with this?
Thank you.
Hello @mohamadazliaidi !
Make sure that the new page is customizable with the TagDiv Composer, check the header template you use from the Website Manager, save, clear all the cache and view the results.
Thank you!
Hi, i have issue with Header. check the image bellow. thank you 🙂
here is the error : https://prnt.sc/WcE23iDoy4M7
Hello,
I am facing issues after the recent updates to render Ads on desktop version.
I am using Ads from two different Google AdSense publisher IDs to make sure that the issue is not with our Google Adsense account. I can exclude this reason also because the Adsense are showing correctly in mobile view.
Listing below few informations and screenshots useful to debug the issue and help us to resolve it:
– Newspaper theme Version: 12.5.1 installed
– deactivated, eliminated, reinstalled and reactivated all the plugins from scratch
https://imgur.com/a/2EHuzlD
– made sure that DISABLE on desktop in NOT enabled
https://imgur.com/a/wbgUrXL
– followed your latest guidance for the implementation: https://forum.tagdiv.com/article-ads/
as you can see from the screenshot https://imgur.com/a/6PzL89X, the Adsense code is implemented in the Single Post Content Ads tab (something is rendering, but nothing is showing. It’s visible when Inspecting the page from browser https://imgur.com/a/LPbR5WC)
– let me also flag that the INLINE Ads doesn’t show inline, but it’s placed just right after the Top Article Ads
– the same issue is showing also on the pages (Header and Sidebar ADS). I followed your guidance by implementing AdBox elements and pasting the Adsense code in there, but despite the Adsense seems there, nothing is showing. https://imgur.com/a/DvYgXvg
Please, help us resolve this issue. Before it was very easy setting up the advertisements by just placing the code from Theme Panel > Ads and now everything is messed up.
If you need to inspect my website, this is the URL: https://italiapragaoneway.eu/
Thanks for your kind support.
Best,
Fabrizio Martini
i want use i cant costmiz header and footer for mobile its not in cloud templates
Hello!
Check this topic: https://forum.tagdiv.com/topic/change-link-on-theme-header-login-to-something-custom/
Thank you!
hello how we can sating header and footer in mobile same desktop https://scrnli.com/files/7ou6JTTDBedE9A this one in TagDiv Composer and this in real https://scrnli.com/files/i8a434pVeeiB3R , https://scrnli.com/files/tyRi5zTs8eKzWZ
Hello!
I have same issues,.. any fix yet?
I did all bellow steps
1. disable TagDiv Composer
2. uninstall(delete) TagDiv Composer
3. clear cache (if cache plugin exists)
4. install TagDiv Composer
5. activate TagDiv Composer
6. clear cache (if cache plugin exists)
But still getting “Error at zones: 6(models) : 0(dom). The model does not match the content Current state has involved an issue”
Im abble to download new “Header templates” but cant edit with “TagDiv Composer”
Hi,
the main menu of my site is normally sticky, but only on some – not at all – posts it is not sticky, the submenu arrows disappeared and the search button is not clickable.
I use WP Rocket. What do I have to do? Is there any function/JS of the theme that I have to exclude in WP Rocket?
Thank you!
Dear tagdiv team,
We have a header ad on demokracija.si, below the header section. On homepage ad displays fine, on single pages (articles) the ad is stretched. Tried limiting the element on Image tab, but then it doesn’t display. The ad image is 970×250.
https://app.screencast.com/r8KMCNNX538LF
https://app.screencast.com/Qrt8EISJV8qvZ
Second thig: we’ve put the header ad on mobile on the end of the article (single page/article only) just to test it out and it’s not showing.
https://app.screencast.com/FRM4LwuMISBNM
Any help appreciated.
I am reaching out to seek assistance with a recurring issue that I have been experiencing on my WordPress website. The issue is related to a PHP warning that reads as follows:
PHP Warning: A non-numeric value encountered in /var/www/vhosts/personalwirtschaft.de/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_mobile_search.php on line 269
PHP Warning: A non-numeric value encountered in /var/www/vhosts/personalwirtschaft.de/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_mobile_search.php on line 271
This warning appears consistently in the context of the tdb_mobile_search.php file and specifically on lines 269 and 271.
How can we solve this Problem?
Link: https://chathamvoice.com/
In the red header at the top – Sign In/Join is showing up. It’s turned off in settings.
Hi there,
I’m having an issue with Sign In/Join showing in header, while being turned off in the theme settings.
Any help?
Can you please send me the code of this side (mobile) menu page, because when importing (header template) from the Cloud Library in another demo, the settings and the page itself to which the modal-popup refers are not imported. So in other demo you can’t download this page.

This page is not imported and cannot be accessed in another demo.

Maybe there is some way to add these pages automatically in another demo?
I am fed up with that actually. Searched for the images for 5 hours but didn’t found a single. There are no images in the background tab of theme panel, checked header, footer, background in the Tagdiv edit screen, checked attachment page, cleared cache and all but not found. Too much complicated theme function I have seen.
Hello!
Yes, I’ve checked (2 in headers: mobile + desktop) and one in the footer.
Please disable them.
Thank you!
Hello!
No. Check in the TagDiv Composer and disable the H1. For example, H1 from logo(header, footer, mobile): https://forum.tagdiv.com/topic/6-h1-tags-on-front-page-bing-have-deindexed-my-site/
Thank you!
Hello @maciejzakrzewski !
You can import the same menu(header template) from the Cloud Library: https://prnt.sc/BfLT9j7VeVSy
That menu use a modal pop-up: https://forum.tagdiv.com/modal-popup/
Thank you!
4. Why is impossible to edit Header in simple text Edit mode? I can manually then edit scripts, but in simple edit (non Visual composer) header I get only scrambled letters. Why?
Just suddenly I got this error.
“Errors at columns elements: 2(models) : 1(dom). The model does not match the content Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)”
On all pages.
1. I tried to disable all plugins, disable w3 total cache, nothing the same error.
2. Also disable mod_security, for whole page, restart httpd, the same
3. I have also tried to create a new page using TagDiv Composer, but still no luck.
I see in the top left corner of the editor, on the background for previewing the page, the word “Delete” as if it appeared out of nowhere. I don’t know where it’s coming from and how to remove it, and I can see it on every page I want to edit using Visual Composer.
What to do next?
I need to edit my header, but can’t change anything.
Thank you.