[WordPress] 外掛分享: Seamless Sticky Custom Post Types

首頁外掛目錄 › Seamless Sticky Custom Post Types
1,000+
安裝啟用
★★★★
4.7/5 分(20 則評價)
4081 天前
最後更新
問題解決
WordPress 3.0.1+ v1.4 上架:2013-10-30

內容簡介

此外掛沒有任何設置或自訂功能。將自訂文章類型設為置頂就像對普通文章一樣,這些文章ID將包含在 get_option('sticky_posts') 結果中。

請注意,為了盡可能地整合,此外掛不會修改任何查詢或篩選任何函數。如果您的置頂文章未按您的希望顯示,可能是查詢中的一個很好的原因(ignore_sticky_posts 設置為 true? post_type 設置為其他類型?)。這個外掛可能最適合只想要本機置頂文章 UI 而不需要其他多餘功能的開發人員。

如果您認為此外掛有用,請給予評分。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Seamless Sticky Custom Post Types」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

There are no settings or custom functions. Set custom post types to be sticky just as you would with regular posts, and those post id’s will be included in the result of get_option( 'sticky_posts' ).
PLEASE NOTE In order to integrate as seamlessly as possible, this plugin will not alter any queries or filter any functions. If your sticky posts aren’t appearing the way you want, there’s probably a good reason in your query (Is ignore_sticky_posts set to true? Is post_type set to a different type?). This plugin may be most appropriate for developers who just want the native sticky post UI and no other superfluous features.
If you find this plugin useful, please rate it accordingly.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon