Image missing and required - Wordpress AMP Structure doesn't add Image attribute
问题 When validating my wordpress posts using Google's Structured Data Testing Tool, I get the following error: "Image: missing and required" I have the official wordpress AMP plugin installed that generated the AMP pages for me. The problem is that it doesn't popular the "image" attribute for BlogPosting . In the plugin there is a code that I think should generate it, but it's not running anywhere: private function get_post_image_metadata() { $post_image_meta = null; $post_image_id = false; if (