AMP are disable after updating Newspaper

Posted in: Newspaper
Post count: 24

Hello, After updating newspaper & wordpress to the latest version, I have some issues:

1. Problem ONE !

All my posts has turned to AMP: Disabled and when I click on edit this message appears: There are no supported templates to display this in AMP.

PS: I installed AMP plugin + Newspaper mobile theme. & I had set Website Mode Transitional in AMP settings.

(( before update, when I search posts in google from my website via, it always redirect me to AMP version, however, after update this is not happening anymore. ))

2. Problem TWO !

After updating, the xml rpc is not working anymore. I contacted WordPress APP support, and after conducting their test, I had errors in the following:

wp.getTags
wp.getPostStatusList
wp.getComments
wp.getPageList
metaweblog.newMediaObject

And they told that either the Theme or plugins are making conflicts.

3. Problem THREE !

Is there any Shortcode to use to add ADVERTISEMENTS in middle of posts ( like for instance between paragraphs ) ? or should I use 3rd party adsense plugins

4. IS NEWSPAPER compatible with Polylang ? or we should only use WPML paid version. ?

5. Is there a way to show an LTR TEXT in RTL POST ( my Newspaper theme is set to Arabic )

Thank you in advance.

Post count: 20688

Hi,

1. I have checked your website – https://clipaxis.info/ seems there is no amphtml link in the page source, so there is no AMP currently. Please check if one of these settings is selected
https://www.screencast.com/t/Tu3TnZqOI
More about it here – https://tagdiv.com/amp-newspaper-theme/

Then check if AMP is enabled for the content types you want, for example
https://www.screencast.com/t/VlB1n4zzzwH
After doing this, clear the cache, then test a post page by adding /?amp at the end of the URL.

2. I see two links to xmlrpc pages in the source – https://clipaxis.info/xmlrpc.php
https://clipaxis.info/xmlrpc.php?rsd

Regarding the first one (with the message), from what I can find that is what it is supposed to display
https://www.rosehosting.com/blog/what-is-wordpress-xml-rpc-and-how-to-stop-an-attack/

3. The theme provides 3 article ad spots, top, inline after a specified number of paragraphs, and bottom. More ads could be inserted with plugins if needed, you could try some. I have seen users that use the Adrotate plugin, as it provides shortcodes
https://www.wpbeginner.com/plugins/how-to-manage-ads-in-wordpress-with-adrotate-plugin/

4. Polylang should work just fine, WPML is officially supported. You could make some tests with the free version of polylang, to see if it has the capabilities you require.

5. From what I can see the post content is RTL – https://www.screencast.com/t/OMegiXmN
If you want specific sections from it in LTR you could wrap the text in a div or span maybe with a class, or set a class to specific paragraphs for example
https://www.screencast.com/t/h09R1oea
Or even set it inline – https://www.screencast.com/t/1D9koi3e

Thanks

Post count: 24

Hello Sir,

Regarding the 1st question, I have done exactly what you have asked me to do, and still when I add /?amp at the end there is no amp version!

2. WordPress App support team said the issue of XML-RPC is with the theme

5. Please could explain more how I can realize that ? I mean how can I wrap the text in a div or span ?

Thank you

4.

Post count: 20688

Hi,

1. Looks fine now, AMP seems to work – http://prntscr.com/o9d5rs
I tested with the AMP test tool, there is an error related to auto-ads
http://prntscr.com/o9d6k0

If you want to use AMP auto ads, please enter the auto ads code like this in the theme panel dedicated section – http://prntscr.com/nztn70 and there should be no problem. No need to do or add anything else, just the ad code as mentioned.
In their documentation they mention to add a script in the head
https://amp.dev/documentation/components/amp-auto-ads but this is not required, the theme will add it automatically.

2. Don’t know what could be the problem with the theme in this matter. The result I get on your end is the same as mine – http://prntscr.com/o9dg5n and the same if I switch to a default wordpress theme – http://prntscr.com/o9dgfo
There is a tester in this guide, try testing the website with it
https://kinsta.com/blog/wordpress-xml-rpc/https://xmlrpc.eritreo.it/

5. You can do it by editing the post and setting the containers around the needed text, for example – http://prntscr.com/o9diz7

If you have more questions let me know.

Thanks

Post count: 24

Hello Again,

I have followed exactly the same steps you had mentioned above, but I still have the same Validation issue in all pages: The extension ‘amp-auto-ads’ was found on this page, but is unused. Please remove this extension.

I have created AMP ADS and put theme under : mobile ads

<amp-ad width=”100vw” height=320
type=”adsense”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXXX”
data-ad-slot=”7705229545″
data-auto-format=”rspv”
data-full-width>
<div overflow></div>
</amp-ad>

and UNDER amp ads

<script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script&gt;

and THE ADS are SHOWING FINE in my website .. I can see them via my phone when i add /?amp at the end

How can I fix the amp-auto-ads issue please?

Post count: 24

UPDATE

After reading other AMP issues in the forum, I fixed it using this AD:

<amp-auto-ads
type=”adsense”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXx”>
</amp-auto-ads>

Post count: 20688

Hi,

That is what I suggested above – https://prnt.sc/nztn70 enter the ad code like that and it will work fine – http://prntscr.com/o9vb08
Also there will be no validation errors – http://prntscr.com/o9vb5v

Post count: 24

Perfect ! Working 100% thank you man, AMP really improved my earning in google adsense to 300%

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.