{"id":135176,"date":"2021-01-20T06:41:35","date_gmt":"2021-01-20T06:41:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/my-favorites\/"},"modified":"2026-01-09T08:29:18","modified_gmt":"2026-01-09T08:29:18","slug":"my-favorites","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/my-favorites\/","author":17735208,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.4","stable_tag":"1.4.4","tested":"6.9.4","requires":"4.8","requires_php":"5.4.0","requires_plugins":null,"header_name":"My Favorites","header_author":"Takashi Matsuyama","header_description":"Save user favorites posts and display it in a list.","assets_banners_color":"7ec0e0","last_updated":"2026-01-09 08:29:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/my-favorites\/","header_author_uri":"https:\/\/profiles.wordpress.org\/takashimatsuyama\/","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":17702,"num_ratings":15,"support_threads":2,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.2.1":{"tag":"1.2.1","author":"takashimatsuyama","date":"2021-02-22 12:12:54"},"1.4.3":{"tag":"1.4.3","author":"takashimatsuyama","date":"2025-07-02 08:25:50"},"1.4.4":{"tag":"1.4.4","author":"takashimatsuyama","date":"2026-01-09 08:29:18"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":15},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2459439,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2459439,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2459439,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2459439,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2459439,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.1","1.4.3","1.4.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1953,68883,3464,169],"plugin_category":[34,56],"plugin_contributors":[195275],"plugin_business_model":[],"class_list":["post-135176","plugin","type-plugin","status-publish","hentry","plugin_tags-accessibility","plugin_tags-favorite-posts","plugin_tags-favorites","plugin_tags-likes","plugin_category-accessibility","plugin_category-social-and-sharing","plugin_contributors-takashimatsuyama","plugin_committers-takashimatsuyama"],"banners":{"banner":"https:\/\/ps.w.org\/my-favorites\/assets\/banner-772x250.jpg?rev=2459439","banner_2x":"https:\/\/ps.w.org\/my-favorites\/assets\/banner-1544x500.jpg?rev=2459439","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/my-favorites\/assets\/icon.svg?rev=2459439","icon":"https:\/\/ps.w.org\/my-favorites\/assets\/icon.svg?rev=2459439","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Save user's favorite posts and list them.\nThis plugin is simple. You can save the user's favorite posts just a install and display them anywhere you want with just a shortcode.\nThe logged-in user's data is saved in the user meta. Other user's data is saved to Web Storage (localStorage).<\/p>\n\n<h3>Usage<\/h3>\n\n<ul>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_select_button post_id=\"\" style=\"\"]<\/code><\/li>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_list_menu slug=\"\" text=\"\" style=\"\"]<\/code><\/li>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_list_results class=\"\" style=\"\"]<\/code><\/li>\n<\/ul>\n\n<p>For pages with a shortcode for list view ([ccc_my_favorite_list_results]).<\/p>\n\n<p>\"Load More\" is displayed with \"posts_per_page\".\nIt will be displayed when the user has more favorite posts than \"posts_per_page\".<\/p>\n\n<ul>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_list_results posts_per_page=\"10\"]<\/code> default is 100 posts.<\/li>\n<\/ul>\n\n<p>You can display the post's \"excerpt\".\nThis value is the char length.\nIf not needed, use \"no excerpt\" or \"0\".<\/p>\n\n<ul>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_list_results excerpt=\"30\"]<\/code><\/li>\n<\/ul>\n\n<p>If you want, you can change the code for list view yourself.<\/p>\n\n<ul>\n<li><strong>Shortcode:<\/strong> <code>[ccc_my_favorite_list_custom_template style=\"\"]<\/code><\/li>\n<\/ul>\n\n<p>For pages with a shortcode for custom list view ([ccc_my_favorite_list_custom_template]).\nAdd the function (<code>function ccc_my_favorite_list_custom_template( $my_favorite_post_id ) { }<\/code>) for your list view to <code>your-theme\/functions.php<\/code>.\n    $my_favorite_post_id is array.\n    style=\"none\" excludes the default CSS for the list.<\/p>\n\n<p>Detailed usage is under preparation.<\/p>\n\n<h3>Discover More<\/h3>\n\n<p>This plugin is <a href=\"https:\/\/github.com\/takashi-matsuyama\/my-favorites\">developed on GitHub<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>my-favorites<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use shortcodes to display the favorite posts list and an icon for save and a menu for link to list.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.4.4<\/h4>\n\n<p>Security Fix: Stored XSS vulnerability in shortcode attributes (CVE-2024-37114). See <a href=\"https:\/\/github.com\/takashi-matsuyama\/my-favorites\/issues\/8\">issue #8<\/a> for details.<\/p>\n\n<p>See the <a href=\"https:\/\/github.com\/takashi-matsuyama\/my-favorites\/releases\">release notes on GitHub<\/a>.<\/p>","raw_excerpt":"Save user&#039;s favorite posts and list them.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/135176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=135176"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/takashimatsuyama"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=135176"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=135176"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=135176"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=135176"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=135176"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=135176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}