這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Seamless Schema

描述

Seamless schema automatically inserts Schema.org and Open Graph metadata inside the page header to improve SEO and social network display. The metadata is extracted by default from the blog content data such as the page title, the post excerpt, the thumbnail image but it can be completed for each blog post, page and attachment using the provided metadata editor for simple properties and even within the page’s HTML code for the more complex ones.

Configuration

Configure the default page type and metadata and for the homepage. By clicking Settings / Seamless Schema in the admin page. This is optional since WordPress’ values (page title, description and header image) are used by default. You can also set the Twitter username of your website for the Twitter site cards from here.

If you have Polylang installed, you can set per-language settings.

Authors can fill their Twitter username in their profile for the Twitter site cards.

How to use

When editing a blog post, a page or an attachment, you can set its Schema.org content type and metadata. In most cases, the content-type will be Article or Web Page but you can set a more accurate type such as Organization or Product Review.

You can add extra metadata and override the default ones such as the name, description (post excerpt) and image by selecting the property you want in the select box then click the + button. The properties that already have a default value show up in italic in the list. If you set an invalid property for the selected content type, the row will show up in red and won’t be used on the website.

The metadata is added in meta tags in the page header so it’s totally invisible. However, only canonical properties can be added. For more complex types such as home address and product review, you have to add manually the metadata in the HTML code of your post. Have a look at the Schema.org website for more information about the structure.

Additional OpenGraph and Twitter tags can be added in posts, pages and attachments as custom fields prefixed by og_ or twitter_. For example, to add the tag og:my_tag, add a custom field named og_og:my_tag with the value you want.

螢幕截圖

  • The Schema.org metadata editor

安裝

  1. Download and unzip seamless-schema archive contents to the /wp-content/plugins/seamless-schema directory or add it using WordPress’ plugin manager.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. It works!

常見問題

How can I validate the Schema.org metadata of my web page ?

For Schema.org metadata, go to http://www.google.com/webmasters/tools/richsnippets

For OpenGraph metadata, go to https://developers.facebook.com/tools/debug/

For Twitter site cards, go to https://cards-dev.twitter.com/validator

I have Schema.org validation errors. What can I do?

Your theme may already have its own Schema.org implementation that causes issues. Try with another theme or disable Seamless Schema.

評價

2016年9月3日
I really like that the drop-down list contains all of the options for schema markup. I find that other plugins (although perhaps more user-friendly) have a very limited amount of schema mark-up, so unless you own a food blog you’re fucked. With a bit of research on the Schema website this plugin speeds up the process a lot and is very flexible. Highly recommended for podcasters.
閱讀全部7個評價

貢獻者及開發者

“Seamless Schema” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Seamless Schema 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • Added support for Facebook admins (fb:admins) and Facebook application ID (fb:app_id) meta tags.
  • Thumbnail image sizes have been optimized to match Facebook’s and Twitter’s requirements and provide maximum visibility:
    ** The “thumbnailUrl” Schema.org property and the Twitter site card image now use the large version of the featured image, instead of the medium one.
    ** The “image” Schema.org property and the Open Graph image now use the featured image at its full size, instead of the medium one.

1.1

  • Added Twitter site cards support
  • Minor bugfixes

1.0

  • First public release