
內容簡介
此外掛提供快速簡易介面,方便在頁面和文章中加入社交媒體的 meta 資料。設計上減少您所不需要的冗餘設定,讓使用者可以輕鬆上手,不影響使用體驗,也不含煩人廣告。因此,您可以放心推薦該外掛給客戶使用。
該外掛可以單獨使用,但是當與 Sewn In Simple SEO 插件同時使用時,效果更佳。
可選擇添加到哪些文章型態(預設添加到公開文章型態)
與 Sewn In Simple SEO 插件完美結合,合併成一個面板進行編輯
非常簡單,沒有冗餘的功能。
控制所添加的文章型態
外掛預設僅添加到頁面和文章中,但您可以使用以下篩選器刪除預設文章型態並添加更多類型:
/**
* Completely replace the post types in the XML sitemap and SEO edit functionality
*
* This will replace the default completely. Returns: array('news','event')
*
* The result is to remove 'post' and 'page' post types and to add 'news' and
* 'event' post types
*
* @param array $post_types List of post types to be added to the XML Sitemap
* @return array $post_types Modified list of post types
*/
add_filter( 'sewn/seo/post_types', 'custom_sitemap_post_types' );
function custom_sitemap_post_types( $post_types ) {
$post_types = array('news','event');
return $post_types;
}
相容性
與 Sewn In Simple SEO 插件相容。
外掛標籤
開發者團隊
② 後台搜尋「Sewn In Simple Social Optimization」→ 直接安裝(推薦)
原文外掛簡介
Adds a fast, simple interface for adding Social Media meta data to pages and posts. Designed to remove all of the extra stuff that you just won’t use. It is made to be straight forward for users with no confusing extras and no annoying ads. So you can enjoy using it and feel comfortable putting it before a client.
This can be used on its own, but it is more poweful when used with the Sewn In Simple SEO plugin.
Choose which post types it is added to (public post types by default)
Integrates nicely with the Sewn In Simple SEO plugin, so they get merged into one panel for editing
Very simple, no cruft or extra features you won’t use.
Control what post types are added
By default only pages and posts are added, but you can remove either of those and/or add more using this filter:
/**
* Completely replace the post types in the XML sitemap and SEO edit functionality
*
* This will replace the default completely. Returns: array('news','event')
*
* The result is to remove 'post' and 'page' post types and to add 'news' and
* 'event' post types
*
* @param array $post_types List of post types to be added to the XML Sitemap
* @return array $post_types Modified list of post types
*/
add_filter( 'sewn/seo/post_types', 'custom_sitemap_post_types' );
function custom_sitemap_post_types( $post_types ) {
$post_types = array('news','event');
return $post_types;
}
Compatibility
Works with the Sewn In Simple SEO plugin.
