- NewspaperCloudflare (CDN)
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewsmagUsing the theme translations together with WPML
- NewspaperUsing the Theme Translations with WPML
- NewsmagCustom Post Type Support
- NewsmagRequirements for Newsmag
- TutorialsWhat is Ajax preloading?
- NewspaperRequirements for Newspaper
- NewspaperHow to Make the Site Faster
Hello, Its been two days since I implement amp auto ads in my website. I read all the comments posible, but auto ads are not showing. Please if you can kindly review my script and tell me if it is correct.
thank you
I modified the HTML-START.php file
<?php
/**
* HTML start template part.
*
*/
?>
<!doctype html>
<html amp <?php echo AMP_HTML_Utils::build_attributes_string( $this->get( ‘html_tag_attributes’ ) ); ?>>
<head>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no”>
<?php do_action( ‘amp_post_template_head’, $this ); ?>
<style amp-custom>
<?php require_once(‘style.php’); ?>
<?php do_action( ‘amp_post_template_css’, $this ); ?>
</style>
<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”>
</script>
</head>
<body class=”<?php echo esc_attr( $this->get( ‘body_class’ ) ); ?>” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>
<amp-auto-ads type=”adsense”
data-ad-client=”ca-pub-XXXXXXXXXX”>
</amp-auto-ads>
<div id=”td-outer-wrap”>
Hello jllorente25,
I have tested on my website to make an audio playlist and it seems to work as expected with TD Composer-enabled and disabled. Disabled all of the untested plugins, clear all the caches, purge CDN files and check the results. Also, if the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further investigate it closer your setup page. Provide there the link to this topic so we can quickly identify you.
Thanks for the message!
Hello ytre77,
This seems to be a caching problem. Try to clear all of these, purge CDN files and check the results. If the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further investigate it closer your setup page. Provide there the link to this topic so we can quickly identify you.
Thanks for your understanding!
I want to fix the article length so that its bottom is equal
newspaper 9, fast news. View image
https://scontent.fhan5-5.fna.fbcdn.net/v/t1.15752-9/45276557_575514312867229_5729722669079724032_n.png?_nc_cat=108&_nc_ht=scontent.fhan5-5.fna&oh=65b460dfe832ed3f16227235d73f9dcf&oe=5C768353

How do I add this to the header on the AMP pages?
<script async custom-element = “amp-ad” src = “https://cdn.ampproject.org/v0/amp-ad-0.1” js> </ script>
Hello FNBRLeaks,
Please check your system status parameters to be increased according to our requirements guide from here -> https://forum.tagdiv.com/requirements-for-newspaper/ Most likely, your WP Memory has exhausted and that’s why you cannot save anything. Increase it, clear all the caches, purge CDN files and check the results.
Thanks for your understanding!
Hello Tibbar,
If you are using a Cloudflare, ensure that it is set up according to our useful guide from here -> https://forum.tagdiv.com/cloudflare-cdn/ -> https://www.screencast.com/t/hi5RJIeXq87
Thanks.
Yes i know, some days it will work perfectly and sometimes it will bug for a few minutes
I clean very often caches and it doesn’t change anything, how can i purge CDN files ? Don’t know what it is
Hello spu,
I have checked your website and it seems to work as expected! I did not saw any such a problem with it. Please notice that the WP-Rocket and Autoptimize plugin has not been tested with our theme and we cannot say for sure that all of these will work as expected with the theme, sorry! Regarding on Cloudflare, ensure that you have correctly set up it according to our documentation from here -> https://forum.tagdiv.com/cloudflare-cdn/ We recommend using the WP Super cache because that plugin is fully tested with the theme.
Thanks for your understanding!
Hello Tibbar,
I have tested your website on mobile devices and the hamburger menu seems to works as expected, without any problem, sorry! Try to clear all the caches, purge CDN files and check the results.
Thanks for the message!
Hi,
We just updated the theme a week ago and we are facing a new issue.
Whenever we push out a new article/story, the home page/front page does not get refreshed. This is something we are facing suddenly. Earlier when we used to push it out the front page used to get refreshed on its own. Could it be a cache issue? We clear cache every time but the front page does not get refreshed on its own on Dekstop and mobile.
We have to physically either press F5 or hit the refresh button on the browser only then we see the new article on the home page.
We are using Autoptimize, wp-rocket plugins as well as cloudeflare CDN. Website: http://www.gadgetbridge.com
please help.
Thanks
Hi, I try to include the code
<script async custom-element="amp-iframe"
src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
for activation amp iframe in header.php,
but in the amp version of the site it is not called.
if I analyze the source code, on the normal version, I see the inclusion, while on the amp version no.
is it correct to place it in the wp-content/themes/Newspaper-child/header.php page?
thank you
Hi, I am getting the following AMP errors on Google Search Console for all my articles.
The extension ‘amp-auto-ads’ was found on this page but is unused. Please remove this extension.
Here is what I did, I followed the example Here The screenshot by Bogdan
Pasted this code in the header of AMP plugin `<script async custom-element=”amp-auto-ads”
src=”https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js”>
</script>`
And I used Insert Headers and Footer Plugin to paste this in the body
<amp-auto-ads type="adsense"
data-ad-client="ca-pub-******">
</amp-auto-ads>
Where did I go wrong?
Hi,
If you still have problems with overwriting Tiled Gallery by Jetpack please read this topic:
https://wordpress.org/support/topic/wp-gallery-custom-links-clash/#post-8569239
Tiled Galleries -> https://jetpack.com/support/tiled-galleries/
Note: Activating the image CDN also enables the Tiled Gallery option for your site. You can deactivate this setting at Settings → Media and then deselect “Display all your gallery pictures in a cool mosaic.”
Thank you.
Hi,
If you are referring to the Google page speed testing tool, it’s available here
– https://developers.google.com/speed/pagespeed/insights/
You can test the website with the tool and make optimizations if necessary. There are many topics in this forum regarding speed optimization, here are some of them
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
Thanks
1. Did you check the requirements for the theme? https://forum.tagdiv.com/requirements-for-newspaper/
2. There are many guides here to optimise the site.
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
https://kinsta.com/blog/google-pagespeed-insights/
Ok, I have to apologize. Tiled Galleries only work with Jetpack if you take the graphics from their CDN.
Do I have to pay attention to anything with the theme when I take the data from a CDN?
Regards,
Roger
-
This reply was modified 7 years by
Roger_TZH.
Hello Cuddlepill,
I have checked your website and the Newsletter seems working as expected, as you can see here -> https://www.screencast.com/t/IXEqNfrriuzY Where is the problem? Clear all the caches, purge CDN files and check the results.
Thanks.
Hello Zinger,
This issue might happen due to your caches or Cloudflare. Check the Cloudflare configuration to be set up according to our documentation from here -> https://forum.tagdiv.com/cloudflare-cdn/ Clear all the caches, purge CDN files and check the results.
Thanks for your understanding!
I’ve been having this problem with showing time *along with the date* in posts on Newspaper theme. Under single post settings, I have “Show Date” selected. I would assume that if, in Settings – > General, Date is set to F j, y and time is set to g:i:s A, the date would also show the time.
That said, here’s what a post looks. You’ll see that it’s only showing the date, though I have WP settings set to show time, too, which you can see in the underlying code:
https://cdn.pbrd.co/images/HJOEifE.png
Tearing my hair out!
-
This reply was modified 7 years by
revmags.
Hi,
You could check the theme requirements guide as a first step
– https://forum.tagdiv.com/requirements-for-newspaper/
There are also quite a few topics in this forum for improving website speed, try a search for these and read a few for more information. Some of the topics here
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
Thanks
Hello JOE,
Try to clear all the caches, purge CDN files and check the results.
Thanks.
Hello Gabrijel,
Did you have cleared all of your caches? Purge CDN files if you are using the CDN system and check the results.
Thanks for your understanding!
Hello Nicholas,
Unfortunately, the WP Rocket plugin has not bee tested with our theme and therefore, we do not recommend to be used with our theme and it seems to be a problematic plugin, sorry! Regarding on Cloudflare, you should respect the documentation from here -> https://forum.tagdiv.com/cloudflare-cdn/ if you want to achieve good theme’s results.
Thanks for your understanding!
Hello Alicegreentree,
The latest version of the theme can be downloaded from Theme Forest which is version 9.1. Maybe, could be a cache problem. Clear all of your caches, purge CDN and check if you have correctly installed the latest version of the theme via FTP way.
Hope this helps and let us know how it goes!
Thanks for the message!