I installed version 9 and like the look of it. However, after installation all amp pages were resulting in following error which got solved as soon as I went to the AMP settings and saved it again!
Warning: require……./wp-content/plugins/accelerated-mobile-pages/templates/design-manager/design-/style.php): failed to open stream: No such file or directory in ……/wp-content/plugins/accelerated-mobile-pages/templates/design-manager.php on line 81
Fatal error: require(): Failed opening required ‘…../wp-content/plugins/accelerated-mobile-pages/templates/design-manager/design-/style.php’ (include_path=’.:/usr/lib/php7.0′) in ……./wp-content/plugins/accelerated-mobile-pages/templates/design-manager.php on line 81
I had to add
.post-title-meta {display:none;}
.next {display: none;}
.prev {display: none;}
in the custom CSS under design to eliminate the author and date on each page as well as the Next and Previous (however, they linked to the AMP version this time!). Would be nice to have the options to display this yes or no in the program.
I still had the problem that the View Non-AMP page did only display on my frontpage and not on the other pages (my WordPress site only has pages no posts!) and had to change the footer.php to change
elseif ( is_single() ){
$ampforwp_backto_nonamp = get_permalink( $page->ID );
} else {
$ampforwp_backto_nonamp = get_permalink( $page->ID )
to get it on each page. Can you please solve this problem so that I do not have to change this whenever there is an update?
My front page is a page, and when validating the page in Google I still get an Invalid structured data element message on the home page because
{“@type”:”Person”,”name”:null}
This error only appears on the frontpage, not on the other pages.
Please solve this problem.
Many thanks beforehand and keep up the good work!
I updated the plugin now to version 9 successfully in 3 of our websites. However in the 4th websites, whenever I want to add the CSS as described above and eliminate the email and whatsapp email social icon which appears on the single pages, I get an error message when trying to save it
There was a problem with your action. Please try again or reload the page.
I did rollback the plugin, but each time get the same problem now which I did not get before!
Please advise by return
Many thanks beforehand
Can the problem by not being able to save as described above, be due to the fact that wordpress is not installed in the root directory of this site? This is the only of the 4 websites wherre wordpress is not in the rootdirectory!
Hi @danielleclark,
1:in the custom CSS under design to eliminate the author and date on each page as well as the Next and Previous (however, they linked to the AMP version this time!). Would be nice to have the options to display this yes or no in the program.
A: We already have that option. Did you check it?
2:I still had the problem that the View Non-AMP page did only display on my frontpage and not on the other pages (my WordPress site only has pages no posts!) and had to change the footer.php to change
elseif ( is_single() ){
$ampforwp_backto_nonamp = get_permalink( $page->ID );
} else {
$ampforwp_backto_nonamp = get_permalink( $page->ID )
to get it on each page. Can you please solve this problem so that I do not have to change this whenever there is an update?
A: We have added this issue in our Github, soon we will test and fix it.
3: My front page is a page, and when validating the page in Google I still get an Invalid structured data element message on the home page because
{“@type”:”Person”,”name”:null}
This error only appears on the frontpage, not on the other pages.
A: Can you give us the url where you are facing this problem?
4:A: We already had that option to remove those icons.
I hope it helps.
Regards,
Team AMP.
Hi @loano1,
Thank you so much for your Amazing feedback.
We have added these tasks in our Github Milestone, we will fixed these issues in the new version.
Regards,
Team AMP