WordPress plugin “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).
Support on WordPress.org
WordPress.org Forums » [My Favorites] Support
detail
Replies: 0
I was under the impression that favorites could be save by non-logged in users. But the page I have the shortcode for favorites list is requiring login. Do people have to be logged in with a user account for this plugin to work? Thanks
Synchronized style updates with multiple shortcodes on one page
detail
Replies: 0
Hi,
Thanks for your great plugin.
Is there a way to get the styling of the icon to update synchronously when you have the shortcode inserted more than once on a given page?
On the example URL above, I have the favourites shortcode in three locations. If I save the content by clicking on the “save” heart, the other save hearts stay outlined instead of changing to solid.
Is there a way to get all three hearts to update to be solid, no matter which “save” heart someone clicks?
Thanks.
Error on delete all or delete last
detail
Replies: 1
Hi again,
Still playing with your fantastic plug-in. I found a beta version on Gitehub and mixed some codes. It seems almost all functions work now. Although 2 things are still unclear. I hope you can help me.
- When I select 4 items to the list, they all show up, perfect! After that I delete them, 1 each time. Now, the last one or the button “delete all” gives me an error. See attached screenshot.
- On the page where I can select the posts i want to add to the list, the hearts will not be coloured if I go back to that page after surfing. So, you cannot see which items are already selected unless you visit the list with the selection.
Screenshot: https://lebonbusiness.fr/wp-content/uploads/2023/01/error.png
I am not a great programmer so if you have a solution, keep it simple. I always say, “talk to me as if I where 5 years old”. (lol)
Thanks again and a Happy New Year!
Wil
detail
Replies: 1
Is there an if statement I can use to test whether the favorite (heart) is or is not active/already clicked? I want to add text next to the button/heart if it has not been clicked and no text if it has already been chosen/clicked.
Feature request – include query strings
detail
Replies: 1
Hello,
really nice and helpful plugin. But i have one problem – i need to save the full url including query string. St the moment just the normal url ist saved (without query strings).
Thats possible to integrate?
Development on GitHub
GitHub - takashi-matsuyama/my-favorites: WordPress plugin "My Favorites"
WordPress plugin "My Favorites". Contribute to takashi-matsuyama/my-favorites development by creating an account on GitHub.