
內容簡介
「Seamless Schema」外掛可以自動將 Schema.org 和 Open Graph 的 metadata 插入頁面標頭中,以提高 SEO 和社交網絡顯示效果。該 metadata 預設從網誌內容數據中提取,例如頁面標題、文章摘要、縮略圖,但可以使用提供的 metadata 編輯器為每個網誌文章、頁面和附件補充簡單的屬性,甚至可以在該頁面的 HTML 代碼中補充更複雜的屬性。
配置
您可以在管理頁面中點擊「設置/無縫Schema」配置默認網頁類型和 metadata,以及首頁的相關信息。這是可選的,因為 WordPress 的值(頁面標題、描述和標頭圖像)會自動使用默認值。您還可以在此處設定您網站的 Twitter 用戶名,以供 Twitter 網站卡使用。
如果您已安裝 Polylang,可以設置每種語言的特定設置。
作者可以在其個人資料中填寫自己的 Twitter 用戶名,以供 Twitter 網站卡使用。
使用方法
當您編輯網誌文章、頁面或附件時,可以設置其 Schema.org 的內容類型和 metadata。在大多數情況下,內容類型將是「文章」(Article)或「網頁」(Web Page),但您也可以設置更精確的類型,例如「組織」(Organization)或「產品評論」(Product Review)。
您可以通過選擇要添加的屬性並單擊“+”按鈕,添加額外的 metadata,並覆蓋默認值,例如名稱、描述(文章摘要)和圖像。已經具有默認值的屬性在列表中以斜體顯示。如果為所選的內容類型設置了無效的屬性,該行將以紅色顯示,並且在網站上不會被使用。
metadata 以 meta 標籤的形式添加到頁面標頭中,因此完全不可見。但是,只能添加主要屬性。對於更複雜的類型,例如家庭住址和商品評論,您必須在文章的 HTML 代碼中手動添加 metadata。請參閱 Schema.org 網站以獲取有關結構的更多信息。
可以在文章、頁面和附件中添加額外的 OpenGraph 和 Twitter 標籤,作為以「og_」或「twitter_」為前綴的自定義欄位。例如,要添加標籤「og:my_tag」,請添加命名為「og_og:my_tag」的自定義欄位,並填寫所需的值。
外掛標籤
開發者團隊
原文外掛簡介
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.
