该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Structured Data Test Button

描述

Adds a “Test Data” link in the admin bar (when viewing any page or post) which opens the current URL in Google’s Structured Data Testing Tool. (You must have the admin bar enabled to see it.)

Introduction to Structured Data

Structured data markup describes things on the web, along with their properties. For example, if your site has recipes, you could use markup to describe properties for each recipe, such as the summary, the URL to a photo for the dish, and its overall rating from users.

When you provide structured data markup for your online content, you make that content eligible to appear in two categories of Google Search features:

  • Rich results — Structured data for things like recipes, articles, and videos can appear in Rich Cards, as either a single element or a list of items. Other kinds of structured data can enhance the appearance of your site in Search, such as with Breadcrumbs, or a Sitelinks Search Box.
  • Knowledge Graph cards — If you’re the authority for certain content, Google can treat the structured data on your site as factual and import it into the Knowledge Graph, where it can power prominent answers in Search and across Google properties. Knowledge Graph cards appear for authoritative data about organizations, and events. Movie reviews, and movie/music play actions, while based on ranking, can also appear in Knowledge Graph cards once they are reconciled to Knowledge Graph entities.

Learn more

屏幕截图

  • This is a caption for screenshot 2
  • This is a caption for screenshot 3

安装

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the structured-data-test-button folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

I don’t see the test link

It’s only visible when viewing the page as a visitor, not on the back-end/edit side. View your post or page as a visitor.

I get an error in Chrome about too many redirects

Complain to Google. That’s their fault. Or use another browser.

评价

阅读所有1条评价

贡献者及开发者

“Structured Data Test Button” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.1

  • Update to prevent “Abandoned plugin” warning.

1.1

  • Credits fix

1.0

  • Intial release