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
Hi,
I am looking for: “Detailed usage is under preparation.” but can not find it. How do i create my own style?
Where do i put the new css without overwriting the plugin?
[ccc_my_favorite_list_custom_template style=””] seems to do the trick but where does the style go?
Thanks in advance
To make it workable, I’ve added this CSS to the short code element. Change the padding-bottom to fit your default image size:
h3 {color:black; font-size:16px;}
.img-post-thumbnail {padding-bottom:100%!important;}
#ccc-my_favorite-list[data-ccc_my_favorites-list-style=”1″] .list-ccc_favorite {margin: 0 2% 2% 0;}
#ccc-my_favorite-list[data-ccc_my_favorites-list-style=”1″] .list-ccc_favorite .img-post-thumbnail {padding-bottom:340px!important;}
detail
Replies: 5
First, thanks for an amazing beautiful and simple plugin!
We have a problem when displaying a list of favourites together with other posts: Whenever a page has shortcode for showing favourites, whether it is [ccc_my_favorite_list_results]
or [ccc_my_favorite_list_custom_template style=""]
, all posts gets marked as favourites, event though they are not.
It is kind of easy to see that it happens at the return of the ajax call, since initially the posts are marked correct as favourites (or not). Then after a second or so, all posts gets incorrectly marked as favourites.
Is there a way to avoid that?
Thank you very much
Soren
detail
Replies: 6
Hello @takashimatsuyama,
how can I get in touch with you to report a vulnerability? (I wasn’t the one who discovered it — I just want to report that your plugin has been flagged with a known vulnerability.)
Thank you.
detail
Replies: 0
Hello I am using your shortcode for a custom list view ([ccc_my_favorite_list_custom_template]) along with the function ccc_my_favorite_list_custom_template( $my_favorite_post_id )
– this works as expected.
I am wondering if would be possible to use this shortcode twice, but associated with different layout – any ideas if this is possible or suggestions on how to achieve this. Alternatively how can access the $my_favorite_post_id array from PHP?
session_start() – session_write_close
detail
Replies: 1
Good day,
I encountered a problem while using popular plugins.
WordPress reports:
A PHP session was created by calling the session_start() function. For hitting REST API and loopback requests. The session should be closed using session_close() with an HTTP prewrite request.
In app/Bootstrap.php I hit the beginning of the session:
if ( !session_id() ) session_start();
If I turn off the plugin the problem no longer appears. It also causes other complications for me, I’m not a programmer so I don’t know how to fix it, so I want to ask if it’s possible to fix it?
Thank you and have a nice day.
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.