Title: Logo Structure Data Not Recognized
Last modified: August 5, 2020

---

# Logo Structure Data Not Recognized

 *  Resolved [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/)
 * We’re using the Reader model on this website for AMP posts. When I’m checking
   the amp page’s rich result on Google’s testing tool, it shows it’s missing LOGO
   URL property. See screenshot here: [https://www.dropbox.com/s/ycjhjh8f762gjla/Screen%20Shot%202020-08-04%20at%205.54.21%20PM.png?dl=0](https://www.dropbox.com/s/ycjhjh8f762gjla/Screen%20Shot%202020-08-04%20at%205.54.21%20PM.png?dl=0)
 * How do I edit this? Is it possible to make the AMP copy the structured data on
   the original post?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flogo-structure-data-not-recognized%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13210756)
 * This issue was reported recently: [https://wordpress.org/support/topic/error-logo-datos-estructurados/](https://wordpress.org/support/topic/error-logo-datos-estructurados/)
 * We just put in a fix for the plugin which will be part of the next release. In
   the meantime, you can use the workaround code which is included in the description
   of this pull request: [https://github.com/ampproject/amp-wp/pull/5121](https://github.com/ampproject/amp-wp/pull/5121)
 *  Thread Starter [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13213469)
 * Thanks, Weston! Is it also possible to make the AMP page copy the structured 
   data from the original post?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13213910)
 * It depends on how you are adding the structured data on the non-AMP page. Is 
   it being added by a plugin? Yoast will output the same structured data on AMP
   and non-AMP.
 *  Thread Starter [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13213943)
 * We add our own schema markup in the header of individual posts. Yoast’s structured
   data option doesn’t include many properties we want to utilize for rich results.
   And we use headers and footers script plugin to add individual JSON-LD.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214110)
 * What is the PHP code you are using to add that to the non-AMP posts? I assume
   a function you hook onto the `wp_head` action?
 *  Thread Starter [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214135)
 * Exactly. Here’s the php: [https://github.com/anandkumar/header-and-footer-scripts/blob/master/shfs.php](https://github.com/anandkumar/header-and-footer-scripts/blob/master/shfs.php)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214173)
 * OK, great. Since you’re using Reader mode there is a dedicated hook you can use
   instead for the AMP pages: `amp_post_template_head`.
 * I believe this is the necessary plugin code:
 *     ```
       add_action( 'plugins_loaded', function() {
       	global $shfs_header_and_footer_scripts;
       	if ( ! empty( $shfs_header_and_footer_scripts ) ) {
       		add_action( 'amp_post_template_head', array( $shfs_header_and_footer_scripts, 'wp_head' ) );
       	}
       } );
       ```
   
 * Do note that this is not necessary if using Transitional or Standard mode, since
   the `wp_head` hook is used. It is also won’t be necessary in the upcoming v2.0
   when a Reader theme has been selected as opposed to the “Legacy” AMP Reader mode
   theme.
    -  This reply was modified 5 years, 10 months ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  Thread Starter [OliverC](https://wordpress.org/support/users/yan5280/)
 * (@yan5280)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214280)
 * Thanks so much Weston!
 * Do you have an ETA for the v2.0?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214376)
 * ETA for 2.0 is August 18th. There are beta pre-releases available for testing:
   [https://github.com/ampproject/amp-wp/releases](https://github.com/ampproject/amp-wp/releases)

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Logo Structure Data Not Recognized’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/logo-structure-data-not-recognized/#post-13214376)
 * Status: resolved