Descrição
Dominant Publisher adds an seo field to every REST-enabled post type (posts, pages and custom post types), so external tools and publishing workflows can read and update SmartCrawl SEO metadata through the standard WordPress REST API.
Fields
title– the SEO title (stored in_wds_title)description– the meta description (stored in_wds_metadesc)
Example: update SEO data
POST /wp-json/wp/v2/posts/123
{ "seo": { "title": "My SEO title", "description": "My meta description." } }
Security
- Updates require the
edit_postcapability for the target post. - All values are sanitized with
sanitize_text_field()before saving.
This plugin is not affiliated with or endorsed by WPMU DEV or SmartCrawl. It works with the post meta keys SmartCrawl uses.
Instalação
- Upload the
dominant-publisherfolder to the/wp-content/plugins/directory, or install the zip via Plugins > Add New > Upload Plugin. - Activate the plugin through the Plugins screen in WordPress.
- Read or write the
seofield on any REST-enabled post type.
Perguntas frequentes
-
Does this require SmartCrawl?
-
The plugin reads and writes the same post meta SmartCrawl uses, so it is intended for sites running SmartCrawl. Without SmartCrawl the data is still stored but has no effect on your front end.
-
Which post types are supported?
-
All post types registered with
show_in_restset to true.
Avaliações
Não há avaliações para este plugin.
Colaboradores e desenvolvedores
“Dominant Publisher” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir o “Dominant Publisher” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.0.1
- Initial release.
