[WordPress] 外掛分享: NextPlugins Lightweight SEO

首頁外掛目錄 › NextPlugins Lightweight SEO
WordPress 外掛 NextPlugins Lightweight SEO 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
3269 天前
最後更新
問題解決
WordPress 4.4+ v1.0.0 上架:2017-04-05

內容簡介

輕量級 SEO 外掛。

將外掛檔案上傳至 /wp-content/plugins/plugin-name 目錄,或直接透過 WordPress 外掛功能安裝。
在 WordPress 中啟用外掛 'Plugins'。
選擇性地在 wp-config.php 中添加 define('NP_LIGHTWEIGHT_SEO_POSTS', 'post, page, my_custom_post_type'); ,啟用文章、頁面和自訂文章類型的 SEO 欄位。
選擇性地在 wp-config.php 中添加 define('NP_LIGHTWEIGHT_SEO_TAXONOMY', 'category, my_custom_taxonomy'); ,啟用類別和自訂類別的 SEO 欄位。

預設情況下,SEO 欄位將添加至文章、頁面和文章類別。

預設情況下,文章頭條圖片將用作 Facebook (og:image) 和 Twitter (twitter:image) 圖片。
您可以透過 next_plugins_lightweight_seo_post_image 和 next_plugins_lightweight_seo_term_image 過濾器添加自定義圖片。
在兩個過濾器中,您需要返回包含圖片網址和大小的陣列。
返回的陣列範例:
array(‘url’ => ‘http://www.my-full-url.com/image.jpg’, ‘width’ => 300, ‘height’ => 200)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

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

原文外掛簡介

Lightweight SEO plugin.

Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the ‘Plugins’ screen in WordPress
Optionally add define('NP_LIGHTWEIGHT_SEO_POSTS', 'post, page, my_custom_post_type'); in wp-config.php to enable SEO fields in Posts, Pages and custom post types
Optionally add define('NP_LIGHTWEIGHT_SEO_TAXONOMY', 'category, my_custom_taxonomy'); in wp-config.php to enable SEO fields in Category and custom taxonomies

By default SEO fields will be added to Posts, Pages and Posts Category.
By default Post featured image is used for Facebook (og:image) and Twitter (twitter:image) images.
It is possible to add custom image using next_plugins_lightweight_seo_post_image and next_plugins_lightweight_seo_term_image filter.
In both filters you need to return array containing image url and sizes.
Returned array example:
array(‘url’ => ‘http://www.my-full-url.com/image.jpg’, ‘width’ => 300, ‘height’ => 200)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon