First, do you have a PayPal account that I can pay you for this version.
I suggest $50, you can not support a plug-in of this level without some sort of remuneration.
This is the message I am getting from GWT:
Accelerated Mobile Pages > Info: Invalid structured data element
It is for a blogposting schema and the logo is required.
I see in GitHub some ideas for changing the coding but would rather have you do this.
Adding a site icon should do the trick: https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later
Also, I’d suggest donating the $50 to https://www.eff.org instead 🙂
Added the favicon, didn’t fix the code.
The problem is the logo, trying to find the right place all the plug-in files to add the image/logo to the schema. Can’t seem to find it.
This is the code that’s the problem:
$metadata = array(
‘@context’ => ‘http://schema.org’,
‘@type’ => ‘BlogPosting’,
‘mainEntityOfPage’ => $this->get( ‘canonical_url’ ),
‘publisher’ => array(
‘@type’ => ‘Organization’,
‘name’ => $this->get( ‘blog_name’ ),
add image call ——>
‘headline’ => $post_title,
‘datePublished’ => date( ‘c’, $post_publish_timestamp ),
‘dateModified’ => date( ‘c’, $post_modified_timestamp ),
‘author’ => array(
‘@type’ => ‘Person’,
‘name’ => $post_author->display_name,
It is in /includes/class-amp-post-template.php
- You must be logged in to reply to this topic.