{"id":80123,"date":"2018-01-12T10:49:46","date_gmt":"2018-01-12T10:49:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/yoast-seo-for-wordpress-pwa\/"},"modified":"2019-02-07T15:47:39","modified_gmt":"2019-02-07T15:47:39","slug":"wp-pwa-yoast-seo","status":"publish","type":"plugin","link":"https:\/\/sl.wordpress.org\/plugins\/wp-pwa-yoast-seo\/","author":14607410,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.0","stable_tag":"1.7.0","tested":"4.9.29","requires":"4.4","requires_php":"","requires_plugins":"","header_name":"Yoast SEO for WordPress PWA","header_author":"Pablo Postigo, Luis Herranz, Niels Garve, Tedy Warsitha, Charlie Francis","header_description":"Makes Yoast SEO settings available to WordPress PWA using the REST API.","assets_banners_color":"","last_updated":"2019-02-07 15:47:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/wp-pwa\/yoast-seo-for-wp-pwa","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":20,"downloads":3074,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5.1","1.6.0","1.6.1","1.7.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[186,2300,151806,2227],"plugin_category":[55],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-80123","plugin","type-plugin","status-publish","hentry","plugin_tags-seo","plugin_tags-wp-api","plugin_tags-wp-pwa","plugin_tags-yoast","plugin_category-seo-and-marketing","plugin_committers-luisherranz","plugin_committers-poliuk"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-pwa-yoast-seo.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Makes Yoast SEO settings available to WordPress PWA using the REST API.\nReturns Yoast post or page metadata in a normal post or page REST API request. Stores the metadata in the <code>yoast_meta<\/code> field of the returned data.<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>{\n  id: 123,\n  ...\n  yoast_meta: {\n    title: \"Testy Test | My WordPress site\",\n  }\n}\n    `<\/p>\n\n<p>Supports pages, posts, categories, tags and any <em>public<\/em> custom post types and custom taxonomies.<\/p>\n\n<p>Thanks to Pablo Postigo, Tedy Warsitha and Charlie Francis for amazing contributions!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/yoast-to-rest-api<\/code> directory, or install the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>= 1.6.0=\n- Big refactoring. Avoid using <code>the_post<\/code> and make it work with custom taxonomies and <code>latest<\/code>.<\/p>\n\n<p>= 1.5.1=\n- Main file renamed to plugin.php<\/p>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Merged contributions from Niels Garve fork (https:\/\/github.com\/niels-garve\/yoast-to-rest-api)<\/li>\n<li>Changed name to \"Yoast SEO for WordPress PWA\"<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Documentation<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Fixed broken meta descriptions in REST collections<\/li>\n<li>PHP Coding Standards (https:\/\/make.wordpress.org\/core\/handbook\/best-practices\/coding-standards\/php\/#php)<\/li>\n<\/ul>\n\n<h4>1.4.0-alpha<\/h4>\n\n<ul>\n<li>Fixed retrieval of the meta description<\/li>\n<li>Generalized Worona PWA dependencies<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Adapted to the needs of Worona PWA<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Changed <code>register_api_field<\/code> to <code>register_rest_field<\/code> as it's depracated<\/li>\n<li>Changed the metadata name to <code>yoast<\/code> rather than <code>yoast_meta<\/code><\/li>\n<li>Removed the <code>yoast_wpseo_<\/code> prefix from the returned meta as it seems undeed<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Using Class instead of plain function<\/li>\n<li>Added output to public custom post types<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Launched!<\/li>\n<\/ul>","raw_excerpt":"Returns Yoast post or page metadata in a normal post or page request.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/80123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=80123"}],"author":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/poliuk"}],"wp:attachment":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=80123"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=80123"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=80123"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=80123"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=80123"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=80123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}