前言介紹
- 這款 WordPress 外掛「Featured Posts and Custom Posts」是 2012-06-19 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2015-02-26,距離現在已有 3719 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1.1 以上版本才可以安裝。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
posts | featured | custom posts | custom post types |
內容簡介
當製作 WordPress 主題時,我們經常會使用很多自訂文章類型。這使得最終使用者可以管理自己的內容。往往我們需要能夠特別推薦文章或自訂文章類型(CPT),為此可使用各種不同的功能特色文章外掛程式。多年來,我們可能已經使用了所有的外掛程式,但始終無法找到一個不會與 WordPress 主題發生衝突或破壞的。因此,我們自己創建了一個特色文章及自訂文章類型,以便輕鬆使用,並可用於文章、自訂文章及我們開發的每個 WordPress 主題上安裝的「簡單頁面排序」外掛程式。
使用方法:
下載「feature-posts-and-custom-posts.zip」文件到您的電腦中。
解壓縮文件。
將「feature-posts-and-custom-posts」文件夾上傳到 /wp-content/plugins/ 目錄中。
透過 WordPress 的「外掛程式」選單啟用外掛程式。
在您的主題且在您需要使用特色功能的佈景中,使用如下自訂查詢:query_posts("post_type=professionals&posts_per_page=-1&meta_key=_jsFeaturedPost&meta_value=yes"),以擷取所有特色文章。
如需外掛程式和主題開發請求,請發電子郵件至[email protected]或前往此處 http://www.reactivedevelopment.net/。 如果您對此外掛程式有問題或要求,請前往此處 https://wordpress.org/support/plugin/featured-posts-custom-posts,或向我們付費諮詢請前往此處http://www.reactivedevelopment.net/contact/send-message/。
版本 2.0 中的新功能:
1. 新增 js_featured_is_post_featured( postID[int] ) 函式
2. 新增縮寫函式 is_post_featured( userID[int] )
3. 新增 js_featured_return_all_featured() 函式,可傳回特色文章的陣列
4. 新增 Widgets
5. 新增在存檔範本上,如果文章是特色文章,則添加文章類別「jsFeatured」
6. 新增短碼 [jsFeaturedPosts posts_per_page=”1″ wrap_before=”
” wrap_after=”
” link_before=”
” link_after=”
” link_atts=”rel=’bookmark'” link_title=”Link to”]
原文外掛簡介
When working on WordPress themes, we tend to use a lot of custom post types. This gives the end- user custom little sections to manage content in. Often enough we see the need to be able to feature posts or custom posts of custom post types (cpts).
This can be accomplished by using a bunch of different Featured Posts Plugins. And we probably have used all of them over the years. To date we have yet to find one that didn’t conflict or break somehting in our WordPress themes. So we created our own, to be specifc we created our own to be easily used with Posts, Custom Posts, and with the Simple Page ordering plugin that we install on every WordPress Theme that we develop.
To use:
Download the feature-posts-and-custom-posts.zip file to your computer.
Unzip the file.
Upload the feature-posts-and-custom-posts folder to your /wp-content/plugins/ directory.
Activate the plugin through the Plugins menu in WordPress.
In your theme and in the template you need the featured functionality uses a custom query like this query_posts("post_type=professionals&posts_per_page=-1&meta_key=_jsFeaturedPost&meta_value=yes"); to grad all of the featured posts.
For Plugin and Theme development requets email us at [email protected] or go here http://www.reactivedevelopment.net/. If you have questions or requests for this plugin go here https://wordpress.org/support/plugin/featured-posts-custom-posts, for quick and paid support message us here at http://www.reactivedevelopment.net/contact/send-message/.
New in Version 2.0
1. New js_featured_is_post_featured( postID[int] ) function
2. short cut is_post_featured( userID[int] ) function
3. js_featured_return_all_featured() function that returns an array of featured posts
4. New widget added
5. Post class “jsFeatured” on archive templates added if the post is featured
6. New shortcode [jsFeaturedPosts posts_per_page=”1″ wrap_before=”
” wrap_after=”
” link_before=”
” link_after=”
” link_atts=”rel=’bookmark'” link_title=”Link to”]
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Featured Posts and Custom Posts」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Custom Post Type UI 》Custom Post Type UI 提供了易於使用的界面,以便為您的網站註冊和管理自定義文章類型和分類法。, Custom Post Type UI Extended, CPTUI 協助建立自定義內容...。
Meta Box 》Meta Box 是一個強大、專業又輕量級的工具組,供開發者在 WordPress 中為任何自訂文章型別建立自訂的 Meta Box 與自訂欄位。, 透過 Meta Box,您可以使用超過...。
Pods – Custom Content Types and Fields 》使用「Pods Framework」在一個地方管理你所有自訂內容需求。, , , 建立內容類型,包括自訂文章類型、自訂分類、以及我們專屬的「進階內容類型」(ACT),...。
Sydney Toolbox 》Sydney Toolbox 外掛只適用於 Sydney WordPress 主題。, 此外掛註冊了在 Sydney 主題 中所需的自定義文章類型和自定義欄位。。
Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。
Apollo13 Framework Extensions 》Apollo13 Framework Extensions 為建立在 Apollo13 Framework 上的主題增加了一些功能。這些功能包括:, , 設計匯入器, 基於 Apollo13 Framework 功能的短代...。
Custom Post Types and Custom Fields creator – WCK 》WordPress Creation Kit 是由三個工具組成,可幫助您建立和維護自訂文章類型、自訂分類和最重要的是文章、頁面或自訂文章類型的自訂欄位和元框。, WCK Custom...。
MAS Static Content 》MAS Static Content 是一款免費的 WordPress 外掛,可讓你建立自訂文章型態的靜態內容,並使用 shortcode 嵌入網頁。, 使用 [mas_static_content] shortcode ...。
Ultimate Posts Widget 》在您的免費虛擬網站上試用:點擊此處 => https://tastewp.com/plugins/ultimate-posts-widget., (此技巧適用於 WP 市集中的所有外掛 – 只需將 URL 中的“w...。
Posts 2 Posts 》此外掛允許您在任何類型的文章、頁面或自訂文章之間建立多對多的關係。以下是一些使用範例:, , 手動編輯有關聯的文章清單, 文章系列, 產品與零售商之間的關...。
Posts in Page 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。
Post Types Unlimited 》Post Types Unlimited 是一個輕鬆的方式,可以以正確的方式向你的 WordPress 網站添加自訂文章類型和自訂分類法 (taxonomy)。此外,這個外掛與任何佈景主題都...。
Meteor Slides 》Meteor Slides 讓您輕鬆製作幻燈片並使用 shortcode、小工具或模板標籤發佈它們。 幻燈片支援響應式和流體佈景主題,可適應任何設備並支援觸控。 使用超過20...。
MB Custom Post Types & Custom Taxonomies 》MB Custom Post Types & Custom Taxonomies 可以在 WordPress 中提供簡單易用的 UI 來輕鬆註冊和編輯自定義文章類型和分類法,並且可以處理所有文章類型...。
Custom Post Type Maker 》Custom Post Type Maker 是一款完美的外掛,以用戶友好的方式創建自定義文章類型和自定義分類法,就像管理常規文章和頁面一樣。, 原始作者為 Bakhuys。, 功能...。