AMP issues

Posted in: Newspaper
Post count: 89

Hello,
I have several questions about the mobile and AMP version of the theme.
I would like AMP to be used automatically for mobile users, but only on the posts. I want the pages, the categories and all the rest of the website is in

So, in the AMP wordpress plugini choose tansitional and in advanced settings > compatible templates > Content type > I checked articles then in templates > singular

Then in Newspaper Theme Panel > Mobile theme > Use Mobile Theme for AMP

Problem 1: Visitors who click from a page to a post are not automatically redirected to the AMP version. The responsive version of the theme displays (just like on desktop).

If in the AMP wordpress plugin I choose in Other > redirect mobile visitors to AMP, the transition is done well, except that the category pages are also presented in a Mobile theme version. What I don’t want. I want all the pages except the articles to remain as on the computer version.

Problem 2: In the amp/mobile version of the theme, below the posts, articles to read are proposed. How to change the label Exclusive on a red background and write PREMIUM or something else with another color instead?

Thanks for your help.

A.

Post count: 35449

Hi,

1. To resolve this problem please be sure that the mobile theme and amp settings are like this:
-> https://i.imgur.com/8RWemCR.png -> https://i.imgur.com/mD7Gjgb.png -> https://i.imgur.com/KtdEgAg.png
2. To change the Exclusive text an color can be change for desktop version using the settings from the block -> https://i.imgur.com/ZF02usD.png now for amp it can be changed only with a custom css like this one:
https://i.imgur.com/g53emAn.png
.td-module-exclusive .td-module-title a:before {
content: "Premium";
color: #fff;
background-color: #555;
padding: 2px 8px ;
}

The css need to be set in this place -> https://i.imgur.com/5gmi8Gn.png
I hope this will help you!
Thank you!

Post count: 89

Calvin, you are the best, all works perfectly !! Thanks ??

I have 3 more questions :
1. In the amp/mobile version of the theme, below the posts, articles to read are proposed. How to limit the posts to the current category?
2. What is better to use in theme panel, the mobile ads or amp ads? What a difference? And especially which one is better for page loading speed?
3. Can I add a newsletter subscription form (in html) to an amp post ? If so where and how? Footer? Sidebard? For your information I don’t use tagdiv newsletter because sendinblue is not supported.

Thanks, your simply et direct answers help me save a lot of time !!

A.

Post count: 35449

Hi,

1. Unfortunately using the mobile theme plugin there is no option to filter the “LATEST ARTICLES”, sorry!

2. You can use both. The mobile ads can be displayed or both mobile and amp, but the amp will be display only on the amp version.

3. The only way you can set in the mobile theme a newsletter subscription is in an ad filed. Unfortunately I’m not sure if this will work on amp (it will be displayed but I do not know if the request will be made, but this can be tested).

Thank you!
Thank you!

Post count: 89

Hello,

1. In this case, can I remove the articles section to read articles completely on AMP posts ?

2. Ok thanks

3. For emails I tried, it doesn’t work, I will contact sendinblue.

Thank you Calvin

Post count: 35449

Hi,
“In this case, can I remove the articles section to read articles completely on AMP posts ?”
Unfortunately, I do not understand exactly what you mean, can you please provide some more details?
Do you want to remove the “LATEST ARTICLES” section from the amp ? If is so, then it can be done only with custom css.
If you want to use amp only on posts, then you can do this from here -> https://i.imgur.com/KmvG22R.png
Thank you!

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