- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
When trying to update settings in theme panel it hangs and the following error shows in the console:
Request URL: https://temptmag.com/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=9.7.2&_fs_blog_admin=true
Request Method: POST
Status Code: 404 Not Found
Remote Address: 69.73.131.125:443
Referrer Policy: strict-origin-when-cross-origin
dears
in my home page, i want to use you widget of Youtube video playlist , but don t work whith my playlist of youtube, only serve to put a list o individual videos…..
how i can do to embed my playlist code with auto play of a list of my videos??
ej. https://www.youtube.com/watch?v=wLtz0bjA5aM&list=PL7la-YJML0Yb8clajxA4OijKFrR64V_Ob
works autoplay in mobile devices??
uhm. NO. (not quite sure how else that might be communicated better)
Sidebar has to stay. All options attempted & when the cover image block is NOT stretched, NOT full width, NOT wide width, or anything else it still extends outside the body. It’s simply the native Gutenberg cover image. I can not make it become something that it is not.
Am I missing another solution or perhaps there’s another setting, toggle, or function that isn’t working? Is the native ‘cover image’ block always supposed to extend beyond the body content div regardless of NOT having wide or full width toggled?
Hi,
Also use the AMP option from mobile theme -> https://www.screencast.com/t/1pLjSDrg5
You need to go in -> plugins/td-composer/mobile/style-amp.css
Thank you!
Hi,
Unfortunately that is not possible currently, once activated the mobile theme will apply to the whole website.
When paired with the AMP plugin it can be made to apply only on AMP pages – http://prntscr.com/nlzj8r so it will be displayed only for visitors reaching AMP pages. The rest of the visitors will see the default responsive version.
But to be able to specify pages for which the mobile plugin to not apply, is not possible at the moment. Sorry for the inconvenience.
Thanks
Hi,
1. There are font settings for the blockquotes in the theme panel, you can use those to customize them in general – http://prntscr.com/nlzalv
2. The color of the text can be changes as you write the post
– http://prntscr.com/nlzb50
Each blockquote can have it’s own color. On the other hand, to color them all at once use this setting – http://prntscr.com/nlzcl4
If no color is set in those locations they will inherit the theme accent color
– http://prntscr.com/nlzbzd
3. The theme ads a few styles for quotes – https://forum.tagdiv.com/post-formats-for-tinymce/ (check point 3) but you could create your own with CSS for them, like in this topic for example – https://forum.tagdiv.com/topic/how-to-create-this-type-of-block/
On mobile the same settings should apply. Unless you use the mobile theme, then they will have the color set in the mobile theme accent color – http://prntscr.com/nlzge5
If you don’t want to change the mobile theme accent color, and wish to color only the blockquotes, you can use some CSS – http://prntscr.com/nlzh6t
This code can be entered in the mobile theme custom CSS section
– http://prntscr.com/nlzhhj
.td-post-content blockquote p {
color: #dd3333;
}
Please let me know if you have more questions.
Thanks
Hi,
I checked that post with the AMP tester, seems to refer to the AMP auto ads
– http://prntscr.com/nlz0ej
How are you implementing the auto ads exactly? The auto ads code can be entered in the theme panel here – http://prntscr.com/nlz12r doing it like this should work properly with no errors.
Other than this the AMP validator doesn’t seem to detect additional issues, from what I can see.
Thanks
Hi,
The mobile theme is a plugin that provide you a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://www.screencast.com/t/ebUIzt4se
If you want the responsive version and amp you should use this opinion -> https://www.screencast.com/t/jZct5ueBqOrb but if you have amp activate on pages you’ll need to create in Mobile editor a content for AMP version of page.
Also please check our documentation for Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
Also for the 3 blocks, for those you’ll need to have set seam feature posts (that have set feature category) -> https://forum.tagdiv.com/featured-posts-2/ -> https://www.screencast.com/t/QsJ6ppY4
You’ll need to add some posts in feature category -> https://forum.tagdiv.com/featured-posts-2/ if you do not have this category you can create it, just make sure that you set the category name to be
Featured
Let me know if you have more questions!
Hi,
As I can see you did not open it through Google. Please open exactly this URL in a mobile browser: https://www.google.de/amp/s/babynews.de/kleinkind/gesundheit/husten-beim-kind-lindern-welche-hausmittel-und-wann-zum-arzt-gehen/%3famp or search for one of our AMP-Posts on Google.
Because the AMP Posts do look good (to direct visitors). But when they are indexed by Google, the Logo becomes incredibly small.
Hello !
To me it looks ok. I cannot see it as small as you describe it since we’ve checked it on multiple devices and this is the result.
https://www.screencast.com/t/54hlP4j5
The theme has no settings on making the logo bigger on AMP.
Thank you !
Hi,
where in the theme files can I find the AMP style.css?
I’ve got many thumbnail photos on my home page, and they all are served at resolutions/sizes way too big for their display size. This results in very long page load times.
Take a look at my home page on a computer: http://www.foodtradenews.com. You will see that the thumbnail images load at huge sizes (under the “latest news” section, for example).
How can I have photos throughout the site served at appropriate sizes?
Thanks for your help.
Hi,
This can be achieve using the Revolution Slider.
How to install Revolution Slider v5 -> https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
Import Revolution Sliders on demos -> https://forum.tagdiv.com/import-revolution-sliders-on-demos/
-> https://www.google.com/search?q=how+to+make+a+fad+slide+in+revolution&rlz=1C1GCEA_enRO812RO813&oq=how+to+make+a+fad+slider+in+revolution+&aqs=chrome.1.69i57j33.10519j0j4&sourceid=chrome&ie=UTF-8#kpvalbx=1
Thank you!
Hi Aboda,
I have checked your website again and I saw that you are using the Facebook Pixel. Please notice that major of your problem for AMP happen due to this, sorry!
Try adding it in the AMP analytics section – http://prntscr.com/njvluz
– https://amp.dev/documentation/guides-and-tutorials/optimize-measure/configure-analytics/analytics-vendors
Can’t find any precise information or documentation about it, here are some more topics
– https://stackoverflow.com/questions/45455167/how-to-add-facebooks-pixel-into-googles-amp
– https://amp.dev/documentation/examples/components/amp-pixel/
– https://github.com/ampproject/amphtml/issues/20297
Thanks
Hi,
I see the ads used are HTML ads, it would be possible with some CSS in this case. For example this post – https://www.snowsbest.com/aldi-ski-gear/
Has these categories – http://prntscr.com/nlvpqn
So a code like this will work – http://prntscr.com/nlvqpy if you don’t want the inline ad to appear on post belonging to the “Gear” category
.single .category-gear .td-a-rec-id-content_inline {
display: none;
}
It can be multiplied to work on other categories as well, for example
.single .category-gear .td-a-rec-id-content_inline,
.single .category-guest-blogger .td-a-rec-id-content_inline,
.single .category-athletes .td-a-rec-id-content_inline,
.single .category-backcountry .td-a-rec-id-content_inline {
display: none;
}
This would be a solution, let me know if you need help.
Thanks
What can the problem be?
The AMP component’s “script” tag appears in the document, but is unused.

Hi, I see it completely different, since you provide the complete AMP code and thus also determine its degree of optimization. Anyway, back to the actual problem. The logo is still very small on Google AMP. Since it is no longer a .webp image but .png it can’t have been because of it. Cache has been purged and also new posts show the same result.
Please have a closer look to it: https://www.google.de/amp/s/babynews.de/kleinkind/gesundheit/husten-beim-kind-lindern-welche-hausmittel-und-wann-zum-arzt-gehen/%3famp
Thank you!
I am saying that the mobile theme doesn’t seem to be active at the moment. When the mobile theme is active, on mobile the website will look like this theme demo (the demo uses the mobile theme, you can check with a mobile)
– https://demo.tagdiv.com/newspaper_local_news/
The AMP version will look the same.
AMP will still be working without it, the posts will be valid and look like this
– http://prntscr.com/nlun2n
If you want us to investigate why the mobile theme is not working on your website, please send us an email at contact@tagdiv.com and provide admin access. We will try to identify the problem. Include a link to this topic in the email.
I Update in last hour to new update wordpress 5.2, and have erros now.
Example:
Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /home/user/public_html/wp-content/themes/newspaper/functions.php on line 73
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/themes/newspaper/functions.php:73) in /home/user/public_html/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/themes/newspaper/functions.php:73) in /home/user/public_html/wp-includes/pluggable.php on line 1254
Thanks,
Hello,
Since updating to the latest version the single image size elements on a page build with WPBakery Page Builder do render wrong. I want to view it full, but the image is cropped.
Sample page
http://sbn.japaho.com/catalog/allian/
Image
http://sbn.japaho.com/sbn/wp-content/uploads/2016/06/ALLIAN1000x650.jpg
http://sbn.japaho.com/sbn/wp-content/uploads/2016/06/allian.jpg
Hm too bad, I can’t use the mobile theme. I don’t want a feed from the latest articles on the homepage and also the footer doesn’t offer enough possibilities.
Could you please add own “Ad Spots for AMP” to the wish list? Thank you!
No I’m using both mobile + Amp.
The mobile plugin is activated and the boxes are checked.
Why would you say I’m not using Mobile?
So is that not working?
https://comfycozyhome.com/wp-content/uploads/2019/05/mobileAMP.jpg
I sent you a screen shot of what google provides. It doesn’t give pages.
I will mark them as fixed and see what happens.
Hi,
Yes, the ads that are set in mobile theme will be show in amp version if you chose the option mobile + amp
-> https://www.screencast.com/t/KHEMsXJqgdfO
-> https://www.screencast.com/t/FKa250uv
Thank you.
Hi Catalin,
Thanks for the code you provided.
.td-mobile-content .td-mobile-main-menu{
padding-bottom:80px;
}
Works even better to make the lowest menu point more visible. It helps for the moment but of course, it doesn’t stop the scrolling in background problem.
I think on “normal sites” this could be fixed with something like
overflow:scroll !important;
-webkit-overflow-scrolling: touch;
but on AMP this is not working. Something for the programmers to look at for the next update.
Thanks!
Hi Vlad,
Thanks for your links, unfortunately, they do not fit. What I’m talking about is the optimization of AMP-posts that are already set up with AMP Newspaper Theme. The posts on AMP are very fast loading, but only 88% – 90% in Google Lighthouse Pagespeed tool. So there is a way to improve to score 100% with AMP Newspaper Theme. One point they recommend/ warn is:
Provide images in modern formats 0,45 s possible load saving
Image formats such as JPEG 2000, JPEG XR and WebP often offer better compression than PNG or JPEG, enabling faster downloads and lower data consumption. Learn more.
How can this be achieved with AMP Newspaper Theme? (No changes to rest of the site, only in AMP)