承接 anacoelhovicente/wp-graphql-autodescription 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

anacoelhovicente/wp-graphql-autodescription

最新稳定版本:v1.0.1

Composer 安装命令:

composer require anacoelhovicente/wp-graphql-autodescription

包简介

Adds support for The Seo Framework to the WPGraphQL Schema

README 文档

README

This plugin adds The Seo Framework support to WP GraphQL.

Supports:

  • Pages
  • Posts
  • Custom post types
  • Categories
  • Custom taxonomies
  • The Seo Framework Settings
    • Webmaster verification
    • Social settings
    • Schema Presence

Pre-req's

Using this plugin requires having the WPGraphQL and The Seo Framework (free or pro) installed and activated.

Activating

Activate the plugin like you would any other WordPress plugin.

Once the plugin is active, the seo argument will be available to any post object connectionQuery (posts, pages, custom post types, etc).

Usage

Post Type Data

query PostsSeo {
  posts(first: 10) {
    nodes {
      seo {
        title
        description
        canonical
        images {
          altText
          uri
          mediaDetails {
            height
            width
          }
        }
        opengraph {
          description
          title
          type
        }
        twitter {
          description
          title
        }
        metaRobotsNofollow
        metaRobotsNoarchive
        metaRobotsNoindex
        redirect
      }
    }
  }
}

Taxonomy Data

query CategoriesSeo {
  categories(first: 10) {
    nodes {
      seo {
        title
        description
        canonical
        images {
          altText
          uri
          mediaDetails {
            height
            width
          }
        }
        opengraph {
          description
          title
          type
        }
        twitter {
          description
          title
        }
        metaRobotsNofollow
        metaRobotsNoarchive
        metaRobotsNoindex
        redirect
      }
    }
  }
}

Settings Data

query SeoSettings {
  seoSettings {
    separator
    presence {
      logo
      name
      type
    }
    webmaster {
      baiduVerification
      googleVerification
      pinterestVerification
      yandexVerification
      bingVerification
    }
    social {
      facebook {
        appId
        authorFallback
        publisher
      }
      twitter {
        authorFallback
        cardType
        profile
      }
    }
  }
}

统计信息

  • 总下载量: 373
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-07-22