Search Results for 'amp'

Results from the Forum
Severan
Participant
#0

page: https://nietylkogry.pl/post/recenzja-komiksu-the-fade-out-act-one/amp/
ON AMP TEST: Invalid CSS stylesheet
…<div class=”td-rating-bar-wrap”><div style=”width:90%”></div></div></td></tr><tr class=”td-review-footer rate_point”>…
The inline ‘style’ attribute is not allowed in AMP documents. Use ‘style amp-custom’ tag instead.

How can I fix this issue?

Severan
tagDiv Member

4. On /wp-content/plugins/td-amp/templates/css find “.amp-wp-article-featured-image{display:none;margin:0}” and change to “.amp-wp-article-featured-image{display:none;margin:0}”

jeffreya93
Participant
#0

Hi,

The new AMP plugin looks good. The only issue is that there are a couple of problems with the AMP validator and the Google check by Google. Also we get problems with the indexing and sitemap tools, because the validator is not green.

Issues Only AMP runtime ‘script’ tags are allowed, and only in the document head.
The tag ‘amp-anim’ requires including the ‘amp-anim’ extension JavaScript.
Only AMP runtime ‘script’ tags are allowed, and only in the document head.

Problem

kal
Participant
#0

Where I add Gemius statistics code for the AMP page

This is the code:
<amp-analytics type=”gemius”>
<script type=”application/json”>
{
“vars”: {
“prefix”: “XXXXX”,
“identifier”: “XXXXXXXXX”
}
}
</script>
</amp-analytics>

#0

Hi. I have read in your blog that your other theme, Newspaper, now includes the TagDiv AMP plugin. My question is: would you include this feature in the Newsmag theme?
Thank you!

zishan0909
Participant
#0

Advertising is not showing on the newspaper theme amp page. I also applied adsense and custom ad but no ad is showing.

drvarun5179
tagDiv Member

Yeah. The update is perfect except the amp. If you need the previous version, you can ping me.

Victor
tagDiv Member

Another “thing” about the new AMP plugging is the counter of views inside the admin panel, It is not counting the visits for the amp views, even if i have the analytic code correctly installed. It’s is a bug or there is something to do about it.

  • This reply was modified 8 years by Victor.
Katarsis17
Participant
#0

Hello. I get this error with the new td-amp plugin:

2018/02/15 17:23:57 [error] 8912#0: *581 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/website/wp-content/plugins/td-amp/includes/utils/class-amp-dom-utils.php:29
Stack trace:
#0 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content-sanitizer.php(25): AMP_DOM_Utils::get_dom_from_content(‘<p><a href=”htt…’)
#1 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(185): AMP_Content_Sanitizer::sanitize(‘<p><a href=”htt…’, Array, Array)
#2 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(118): AMP_Content->sanitize(‘<p><a href=”htt…’)
#3 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(76): AMP_Content->transform()
#4 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-post-template.php(409): AMP_Content->__construct(‘<a href=”https:…’, Array, Array, Array)

any clues?

imanowil
Participant
#0

Hi, I’ve seen this Slider Revolution feature on a couple of sites but do not know the setup and configuration. It displays a floating previous and next post bar on each post. When hovered on, it reveals the respective titles of the post. Someone help please This is an example.

Gino Pinna
Participant
error - topic
#0

Hi, I installed version 8.7, but I have problems.
The posts can be seen very well, but the homepage shows the first two menus and nothing else. Also with the plugin for amp I do not display the menu on pages and posts.

John
tagDiv Member

Facebook and Youtube have that sharing option. It helps users spread their network/links easily &amp; widely (It’s very good for SEO &amp; traffic)

Hope newspaper can have that on version 8.8

Thanks

Catalin
tagDiv Staff

Hello mrx,

1)Unfortunately, there is no option to exclude that FEatured category from the AMP page, sorry! It’s too complicate this task because all of the categories are listed there and should implement some restrictions. The AMP plugin is in a continuous development and in the future, it will be improved.
2), 3), 5), 8) You should use a bit of CSS code if you want to change the AMP style page. Edit here -> https://www.screencast.com/t/vIUHFAbD6uRH
4)The author box has not been included in the AMP plugin by default, sorry!
6)The amount of the Related Articles can be managed from general settings from here -> https://www.screencast.com/t/PSyWl1WQKA4M
7)Does not exist any such an option for Excerpts for Related Articles modules, sorry!

Thanks for your understanding!

leytol
tagDiv Member

I know, but on many occasions there are AMP links that are also shown in desktop browsers…

drvarun5179
tagDiv Member

@leytol amp pages are meant for mobiles only, not for desktop browsers.

kompic
tagDiv Member

Hey thank you for clarifying things for me. I will try to use your tutorial and I will read the post you linked to.
I didn’t know that mobile pages and amp are to be used together.
Thanks

Simion C.
tagDiv Staff

Hi,

1. Please check the theme changelog, the theme now supports PHP 7.2
https://www.screencast.com/t/cKqxeL9Y

2. You can have both the mobile theme plugin and AMP plugin activated, there will be no problem.

Those kind of ads are not tested with the theme. Standard Adsense ads will work properly. In the future support for such ads may be implemented. If you want to use ads like that you could try a plugin to insert the ads, like the one you mention.

We try our best to provide new options and featured with each update. A time will come to make improvements to the ad capabilities of the theme as well.

Thanks

irfan.id
tagDiv Member

Hi, thanks for help.

Everythings works fine now. I delete Lazy Load plugin, now the image show up and redesign logo to 494px x 192px based on Crypto demo.

I just read about AMP rules, looks better without menu.

Thanks

Simion C.
tagDiv Staff

Hi,

Thank you for your appreciation. We try our best to provide as many features as possible with each update.

1. From what I can see all the images in the post are displaying at the moment
https://www.screencast.com/t/U0ljhrMnhhFl
https://www.screencast.com/t/B1vpl7dsD
The logo is as well displayed properly
https://www.screencast.com/t/ZxQLPvTbdyM
https://www.screencast.com/t/DwjXvzUq7W

2. The footer currently cannot be disabled on AMP pages, regardless of desktop settings. I will add this on our list of improvements, so that the footer will not appear when disabled in the theme panel. A temporary solution if you do not want a footer on AMP posts, is to comment or remove this line in the plugin
https://www.screencast.com/t/mJiYj1i8W7

3. The menu will not be displayed on AMP pages, similar to Yoast behaviour
https://yoast.com/social-media-optimization-with-yoast-seo/amp/

4. Featured image is present, as shown above.

5. Logo seems fine as shown above.

Thanks

brian7454
Participant
#0

Trying to understand a few things regarding the footer.

I see various layout options, which is fine, but I can’t see any way of creating and styling footers BEFORE making them publicly visible. Is that right? There’s no way to preview them?

Secondly, unless I’m missing something, it looks like I am only able to choose one footer layout, and that layout is either ‘Off’ for everything (pages and posts) or ‘On’ for everything. In other words I can’t set up different footers in different categories/sections to reflect the content type in different areas (for example, different content for sports fans, different content for travelguide readers and so on).

Is that right?

Thanks

afratus
tagDiv Member

Thank you very much.

About the widget for the links on sidebar, how can I match link style to block 4 title style, for example.

Catalin
tagDiv Staff

Hello matijakurusic,

Please keep in mind that both options are important and here is talking about two different functionalities! Notice that is no question of choosing between them because you can use them simultaneously. The note is that the user, at the first time will see the AMP page, in Google Search (like this -> https://www.screencast.com/t/YM1PffHt) and then, he will be redirected to your website which will work in the mobile theme. The AMP will have to be viewed as a preview to the posts pages of your website which are delivered by the Google AMP Cache. This is a proxy-based content delivery network for delivering all valid AMP documents. It fetches AMP HTML pages, caches them, and improves page performance automatically. For more information about this case and to better understand the operating system for this plug-in, please check the following useful manual from here -> https://www.searchenginejournal.com/difference-accelerated-mobile-pages-amp-mobile-friendly-pages/172967/

Thanks for your understanding!

homzik
tagDiv Member

Well, cache is more important for me than AMP, so I guess you should make your AMP plugin work with:
W3 Total Cache
WP Fastest Cache
WP Super Cache
LiteSpeed Cache
Cache Enabler
WP Rocket
Borlabs Cache

Simion C.
tagDiv Staff

Hi,


@homzik
You could test with the Total cache plugin disabled (and delete cache). Adding /amp should work, check this live demo post that uses AMP
https://demo.tagdiv.com/newspaper_crypto/td-post-ethereum-millionaires-attract-attention-from-regulators/amp/


@midronepro
The menu will not be displayed on AMP pages. Similar to the Yoast website
https://yoast.com/social-media-optimization-with-yoast-seo/amp/

Thanks

irfan.id
tagDiv Member

It’s looks like we are all don’t understand AMP rules… including me. But, now I understand and very satisfied for TagDiv AMP plugin.

more than 70% of my blog visitor comes from mobile, this Newspaper 8.7 save my life 🙂 Cheers~

Thanks

Viewing 25 results - 25,951 through 25,975 (of 38,683 total)