Natalya
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] How to add code after the tag?On my website I added the code to all pages index.php, single.php and frontpage.php.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] How to add code after the tag?I wrote to you above which pages you need to add the code to. Look at my message and screenshot and do as well.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] How to add code after the tag?Maybe I did not understand you, but look at this screenshot
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] How to add code after the tag?Hello! Go to the folder wp-content / plugins / accelerated-mobile-pages / templates / design-manager / design-1 (2 or 3) /, depending on what design you use for pages amp. Add the code to the page you need: index.php, single.php or frontpage.php.
Forum: Themes and Templates
In reply to: [Zoom Lite] Structured Data and HTML ErrorsI solved the issue with dateModified. In the theme-structured-data.php file, you need to find the line <meta itemprop=”dateModified” content=”<?php echo the_time( get_option( ‘date_format’ ) ); ?>”/> and replace it with <meta itemprop=”dateModified” content=”<?php the_modified_time(‘Y-m-d’)?>”/>. But with the errors of HTML the issue is not solved. Also Google writes that on the main page there is no author and no update.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Google swears…Many thanks, I will do it! I thought you did not answer, I did not receive an email notification.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Google swears…Thank you, Ahmed! I found my mistake, but now I do not know how to change the display of thumbnails. They look very ugly. How can I prevent miniatures from stretching in a container? screenshot
I did it like that and it turned out, it’s wrong.
.i-amphtml-fill-content { width: 0px; min-width: 100%; height: inherit; min-height: 100%; }
The problem with the caching plugin is solved. I installed another plugin, with support for AMP – W3 Total Cache
Hello! Excuse, that for a long time did not answer, I still the beginner. I changed the theme template and disconnected the Jetpack, now the pictures are better seen in AMP, but the thumbnails still look stretched. But with the caching plug-in also problems. Here is a link to my site. Go to “View More” and continue, there will be errors. In the Hyper cache settings, you can disable caching for a mobile theme, but there is no AMP in the list. Without Hyper Cash, I will have a load on hosting, I can not disable it, but I really want to use your plugin. I ask for your help!