So after i checked my page with the google search console there appear many errors in required structured data element. So i figured out that no value for the logo field is set.
How can i fix that ?
– https://raventools.com/blog/fix-common-amp-error-wordpress/
– https://wordpress.org/support/topic/a-value-for-the-logo-field-is-required/
did not fix my problem and adding it to the header.php neither.
Thank you, im running 2 Pages with your theme. The first one (where the amp problem occurs) is , the second page with the same theme is (No amp problems here, but the logo url provided in the amp testtool is wrong https://search.google.com/structured-data/testing-tool.)
-
This reply was modified 7 years by
Calin.
Hi,
How To Fix The Most Common “a value for the logo field is required.” AMP Error in WordPress -> https://synotive.wordpress.com/2016/12/20/how-to-fix-the-most-common-a-value-for-the-logo-field-is-required-amp-error-in-wordpress/
Hope this will help you!
Thank you!
Same as the link solution I posted before. Nothing changed…
Hi,
I think that this problem can be fixed by changing a line of code in wp-content/plugins/td-composer/mobile/header-amp.php
Replace:
<html <?php language_attributes(); ?>>
-> https://www.screencast.com/t/Fj94HAommH
With:
<html <?php language_attributes(); ?> amp>
-> https://www.screencast.com/t/yIjgHPfpB
Please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.
Thank you!
Unfortunately that did not help. i dont have a plugin conflict, dont using a child theme and cache was deaktivated and cleared.
Fixed it, thanks for your help. Could you please remove or hide the provided links from the websites.