- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Hi, I got message from google search console about AMP, it said “The inline ‘style’ attribute is not allowed in AMP documents, use ‘style amp-custom’ tag instead”. Please take a look this pic https://prnt.sc/ifxpqa.
It’s come from https://irfan.id/review-terbang-dengan-batik-air/amp/. It’s look like AMP document problem with TD Review and I have no idea how to fix it.
Thanks
The AMP plugin doesn’t seem to recognize custom settings. Will there be a future update or this is it?
Hi @simion I want to suggest about AMP plugin update in the future
1. Please add option move logo from center to left side
2. Please provide us option to hide footer
Thanks
Hi, after asking at the theme’s comments page I was told to open a topic here:

So, this is my website’s URL http://www.lachicuela.com and I have the links to Google Search Console errors. Where should I paste the links? I don’t see any way to add anything without it being public.
Thank you
Thanks for the response Bogdan.
Can you please send one sample screen shot where I can comment the code with example.
Also would like to inform you that I am not able to remove the following render blocking error
https://www.irctchelp.in/wp-content/plugins/font-awesome-4-menus/css/font-awesome.min.css?ver=4.7.0
even after disable the respective plugin as well.
Can you please help on this.
Regards,
Jubel Thomas
Hi,
i use revive adserver to serve ads. After plenty of hours i decided to change the theme and the issue was gone.
This is the problem: HTML5 banners are not working with newspaper theme. It is working with other themes, on other domains, systems etc.
The Adservers hostname is a subdomain of the domain that should show the ads. Like adserver.example.com
On example.com, i get these errors (only when HTML5 is delivered, image banners working well):
(index):1 Failed to load https://adserver.example.com/www/delivery/asyncspc.php?zones=5|9|10|11|9|11|9|9&prefix=revive-0-&loc=https%3A%2F%2Fexample.com%2F&referer=https%3A%2F%2Fexample.com%2F: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'https://example.com' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
Revive sets it’s own header, therefore they collide. Revive is setting the domain where the banner should placed. Newspaper seems to set a wildcard.
How can i get rid of that wildcard?
Thank you very much for helping.
It looks like images that are used in smart list are cropped from both sides to center when viewed in AMP version. Can you look into that?
Example image:

Post link: https://www.kriptovaluta.hr/altcoin/najbolje-kriptovalute-u-2018-godini/amp
Is there any amp for the homepage with the amp plugin? Also are the menu navigations absent in amp pages?
Hi,
AMP version of post doesn’t display different colors of Dropcaps Box. For example, if I’ve set green color to Dropcaps text element it will output with default light blue color.
How can I correct this erroneous behavior?
Thanks.
Hello,
I’m trying to figure out how to center all of the content on my header. I use full-width header style 5 on my site comicbookcorps.com
Any help is appreciated
Well,
The new update was pretty good, but there were many complaining about amp. It was, indeed as expected from any other amp plugin. But there are many who have already tried using amp plugin, but deactivating the plugin is not simply the solution. You will have to redirect the users from having 404 error to the actual place it should have been.
Try the below methods:
1. Using redirect plugin-
Add this in source url- /(.*)\/amp
Then add this in target url-
http://example.com/$1
And tick regex.
2. Manually –
In .htaccess, add below code:
// Redirect AMP to non-AMP
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
Thanks for the feedback. So far, i have rolled back to non amp by simply deactivating the plugin. However, some posts were already converted to amp in serps.
Those using amp and trying to revert back, please do not use 301 redirection. Let the 404 error come, google itself will recognise your website is no more amp. Creating a 301 will tell google its not amp and will just confuse search engines and hence, loss of seo.
P.s- i believe amp is not really good for the hardwork writers do on their blogs. It will strip off your website, and the revenue share is cut off greatly (since amp ads don’t really have higher ctr). Moreover, since you lose page navigation, bounce rate will definitely increase. Rest your choices. 🙂
I would like to warn you, that this update has been the worst since you launching the theme, I have never seen so much going wrong, loading time on my website, is doubled, and this AMP plugin is the worst I have ever seen, I will not be able to use this update.
After years using this theme, I will search for ohter.
Thanks.
Hello Simion,
I saw your live demo (https://demo.tagdiv.com/newspaper_crypto/td-post-ethereum-millionaires-attract-attention-from-regulators/amp/).
I can’t see the logo in header and footer is empty.
(Nu vad logo in header iar in footer nu imi apare nimic. De unde setez pagina pentru AMP ca in setari nu exista astfel de optiune.)
Hi.
For example
Original code
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<ins class=”adsbygoogle”
style=”display:block; text-align:center;”
data-ad-layout=”in-article”
data-ad-format=”fluid”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXXXX”
data-ad-slot=”XXXXXXXXXXX”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
I would like to use the original code above, not modified code. What should I do?
The code on the page, after the Newspaper template has modified it, below
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script><div class=”td-g-rec td-g-rec-id-content_inline td_uid_2_5a86f5a6ee5e9_rand td_block_template_1 “>
<script type=”text/javascript”>
var td_screen_width = window.innerWidth;
if ( td_screen_width >= 1140 ) {
/* large monitors */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width >= 1019 && td_screen_width < 1140 ) {
/* landscape tablets */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width >= 768 && td_screen_width < 1019 ) {
/* portrait tablets */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width < 768 ) {
/* Phones */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:320px;height:50px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}
</script>
</div>
Hello,
Did you test it? Add the codе:
<amp-analytics type=”gemius”>
<script type=”application/json”>
{
“vars”: {
“prefix”: “XXXXX”,
“identifier”: “XXXXXXXXX”
}
}
</script>
</amp-analytics>
Save and see view-source on any /amp page.
Hello,
I would like to find a way to condense all the categories to display under the dropdown using the Block 24 page builder element. 
For example, on the image above, I would like to move,”AllAmerican Optometric AssociationHealioInvision MagMDLinx” categories to be under the dropdown labeled, “more”. Do you know if this is possible? Thank you.
You can use any image you want as background. Then simply enable the parallax option. Rows can be stretched to predefined sizes or full width
– https://www.screencast.com/t/1G3UdSVdYM
For example lets say you have these 2 blocks (block + empty row + block)
– https://www.screencast.com/t/KYPskK3Wv
The row in between can have a parallax image set, either use the full height as I mentioned above, or maybe use an empty space element in that empty row to control the height
– https://www.screencast.com/t/qtdSgzoMMeh
Also there is a CSS tab on the rows, that can be used to make adjustments to the positioning. For example if you want to reduce the space between rows
– https://www.screencast.com/t/egmKmGrJkKOJ
These are some tagDiv composer guides
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
– https://www.youtube.com/watch?v=C0ARTSimnUY&index=4&list=PL6CsDkMaejhr2ExZCO73U11SSVKB9r_NE&t=102s
Also block settings – https://forum.tagdiv.com/block-settings-tutorial/
@Stefan Please try it like this
– http://www.alltomtrav.info/frankrike-far-vanta-formtoppade-roger-america/?amp
@homzik The plugin is optional you can deactivate it and try other AMP plugins. It will be improved over future updates to provide more settings and features.
Hi,
There is an option to exclude a post from amp, but not the entire category – https://www.screencast.com/t/RKkayM8g
Thanks!
Hello andreamarta,
At the moment, the Newsmag theme does not support the AMP plugin, sorry! In the future, this will be implemented on the theme.
Thanks for the message!
Hi,
Yes. Wherever the ad code is present it shows the error.
I just removed the ad code and tested the error is gone. But If I add any text in ad box, the error is coming again.
Example, I entered “Test” in ad box. Now it shows the same error.
Screenshot: https://cl.ly/paYu
Please provide some examples of such posts, so we ca inspect the issues. We have tested the AMP implementation, there were no issues. Check for example a post like this, with the browser console
– https://www.ampproject.org/docs/guides/validate
– https://www.screencast.com/t/2V2ZYPH1K8
Hi,
We have made tests with the AMP plugin, there were no such errors present
– https://www.ampproject.org/docs/guides/validate
– https://www.screencast.com/t/2V2ZYPH1K8
Please provide a link to your website and all the details related to your testing method.
Thanks