前言介紹
- 這款 WordPress 外掛「Favorite Post」是 2013-08-16 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2020-03-14,距離現在已有 1877 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
Bookmark | favorite | favorite post |
內容簡介
這是一個簡單又好用的 WordPress 收藏文章外掛。
功能
提供一個按鈕用來收藏文章。
僅適用於登入使用者。
有收藏文章的小工具。
支援自定義文章類型。
使用方法
在文章頁面加入 這個程式碼以顯示收藏文章的連結。
$favorites = WeDevs_Favorite_Posts::init()->get_favorites(); – 取得已收藏的文章。支援三個參數: post_type、limit、offset。預設的 post_type 是 all,可以取得所有文章類型的文章。
使用小工具顯示收藏的文章。
使用短碼 [favorite-post-btn] 可以插入文章收藏連結。也可以傳入文章 ID 作為參數。[favorite-post-btn post_id="938"]。
使用短碼 [favorite-post] 顯示已被收藏的文章。也可以傳入這些參數: user_id、count、post_type。例如: [favorite-post user_id="1" count="5" post_type="all"]
貢獻
這個外掛可能有錯誤或缺乏許多功能。如果你想要貢獻這個專案,歡迎你前往 Github 上 fork 這個專案。
作者
由 Tareq Hasan,從 weDevs 帶來。
捐贈
如果你喜歡這個外掛,為它的開發捐贈,讓它能夠繼續帶來更多的優秀功能。
原文外掛簡介
This is a simple yet another favorite post plugin for WordPress.
Features
Gives a button to favorite a post.
Works only for logged in users.
Has a favorite post widget
Custom post type support
Usage
Insert this code in your post page to show a favorite post link.
$favorites = WeDevs_Favorite_Posts::init()->get_favorites(); – get favorite posts. Supports 3 parameters, post_type, limit, offset. The default post_type is all, for getting all post types.
Show favorite posts in a widget.
Use the shortcode [favorite-post-btn] for inserting the favorite post link. You can also pass a post id as a parameter. [favorite-post-btn post_id="938"].
Use the shortcode [favorite-post] to display favorited posts. You can also pass these parameters: user_id, count, post_type. e.g. [favorite-post user_id="1" count="5" post_type="all"]
Contribute
This may have bugs and lack of many features. If you want to contribute on this project, you are more than welcome. Please fork the repository from Github.
Author
Brought to you by Tareq Hasan from weDevs
Donate
Please donate for this awesome plugin to continue it’s development to bring more awesome features.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Favorite Post」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。