這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Favorite Post

描述

This is a simple yet another favorite post plugin for WordPress.

Features

  1. Gives a button to favorite a post.
  2. Works only for logged in users.
  3. Has a favorite post widget
  4. Custom post type support

Usage

  1. Insert <?php if ( function_exists( 'wfp_button' ) ) wfp_button(); ?> this code in your post page to show a favorite post link.
  2. $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.
  3. Show favorite posts in a widget.
  4. 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"].
  5. 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.

安裝

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

常見問題

Nothing here

評價

閱讀全部7個評價

貢獻者及開發者

“Favorite Post” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Favorite Post 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0 (24 October, 2016)

  • [fix] Deprecated way of widget constructor fixed

0.1

Initial version released