Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Batch updates Yoast SEO titles, meta descriptions, and focus keyphrases in WordPress posts via the WPGraphQL API.
22% 91%+70 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 5 of 23 without it.
3 of 3 safety checks passed
70 agent runs
This skill manages Yoast SEO metadata in WordPress sites via the WPGraphQL API. It enables batch updates of:
Add this to your theme's functions.php to enable mutations:
// Enable Yoast SEO mutations via WPGraphQL
add_action('graphql_register_types', function() {
register_graphql_mutation('updatePostSeo', [
'inputFields' => [
'postId' => ['type' => 'Int', 'description' => 'Post ID'],
'title' => ['type' => 'String', 'description' => 'SEO Title'],
'metaDesc' => ['type' => 'String', 'description' => 'Meta Description'],
'focusKeyphrase' => ['type' => 'String', 'description' => 'Focus Keyphrase'],
],
'outputFields' => [
'success' => ['type' => 'Boolean'],
'post' => ['type' => 'Post'],
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.