My Favorites

説明

Save user’s favorite posts and list them.
This plugin is simple. You can save the user’s favorite posts just a install and display them anywhere you want with just a shortcode.
The logged-in user’s data is saved in the user meta. Other user’s data is saved to Web Storage (localStorage).

Usage

  • Shortcode: [ccc_my_favorite_select_button post_id="" style=""]
  • Shortcode: [ccc_my_favorite_list_menu slug="" text="" style=""]
  • Shortcode: [ccc_my_favorite_list_results class="" style=""]

For pages with a shortcode for list view ([ccc_my_favorite_list_results]).

If you want, you can change the code for list view yourself.

  • Shortcode: [ccc_my_favorite_list_custom_template style=""]

For pages with a shortcode for custom list view ([ccc_my_favorite_list_custom_template]).
Add the function (function ccc_my_favorite_list_custom_template( $my_favorite_post_id ) { }) for your list view to your-theme/functions.php.
$my_favorite_post_id is array.

Detailed usage is under preparation.

Discover More

This plugin is developed on GitHub

インストール

  1. Upload my-favorites to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use shortcodes to display the favorite posts list and an icon for save and a menu for link to list.

評価

2021年5月21日
This "simple" plugin has been a breeze to use and is easily customizable (with CSS). Recommended if you are looking for the ability for your users to simply favorite a post or page and then reference the collection elsewhere.
2021年3月27日
Easy to use and very easy to customize works very well for Lastest version Include a sample images on the favorites page. Highly recommend Thank you 🙂
3件のレビューをすべて表示

貢献者と開発者

My Favorites はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“My Favorites” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

See the release notes on GitHub.