[WordPress] 外掛分享: SCHEMA for Article

首頁外掛目錄 › SCHEMA for Article
WordPress 外掛 SCHEMA for Article 的封面圖片
300+
安裝啟用
★★★★
4.8/5 分(5 則評價)
2698 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.2+ v0.4.1 上架:2016-01-31

內容簡介

像 Google 這樣的搜尋引擎正以多種方式使用結構化資料標記,例如創建搜尋結果中的豐富片段。具有豐富片段的搜尋結果將提高您的點擊率並增加您網站的訪問量。

此外掛可幫助:

協助您的網站在 Google 搜尋結果中取得豐富片段。
不需要依賴其他外掛或外部代碼。
易於安裝:即插即用,不需要進行任何配置。

相容性

此版本需要 php 5.4 以使用 json_encode 的某些選項。如果您遇到任何外掛問題,請檢查您網站的 php 版本。

過濾
從外掛中排除 PostType

要從任何 PostType 中排除外掛的使用。請在主題 functions.php 中添加此過濾器。

function yasglobal_exclude_post_types( $post_type ) {
if ( $post_type == 'post' ) {
return '__false';
}
return '__true';
}
add_filter( 'schema_for_article_exclude_post_type', 'yasglobal_exclude_post_types');

感謝支援

喜愛 SCHEMA for Article 的使用者給予了大量支援。您可以通過在評分中給予五星並附上好評的方式,支援 SCHEMA for Article 的未來發展,並幫助讓外掛變得更好🙂

錯誤報告

SCHEMA for Article 的錯誤報告可以在 GitHub 上發佈,我們歡迎您的貢獻。請注意,GitHub 不是支援論壇,未經過濾的問題將會被關閉。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SCHEMA for Article」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Search engines such as Google are using structured data markup in many ways—for example, to create rich snippets in search results. Search results with rich snippets will improve your click through rates and increase the number of visitors on your website.
This plugin helps:

Helps your site to earn rich snippets in Google’s SERP.
Does not depend on other plugins or external code.
Is simple to install: plug-and-play, no need to configure anything.

Compatibility
This version requires php 5.4 for some options of json_encode. If you encounter any problems with the plugin you should check your website php version.
Filter
Exclude PostType from the Plugin
To exclude the plugin to be worked on any PostType. Add this filter in your themes functions.php.
function yasglobal_exclude_post_types( $post_type ) {
if ( $post_type == 'post' ) {
return '__false';
}
return '__true';
}
add_filter( 'schema_for_article_exclude_post_type', 'yasglobal_exclude_post_types');

Thanks for the Support
The support from the users that love SCHEMA for Article is huge. You can support SCHEMA for Article future development and help to make it even better by giving a 5 star rating with a nice message to me 🙂
Bug reports
Bug reports for SCHEMA for Article are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon