The code in this extension for the Favorites plugin enables you to display favorited slide images for each user in a list on any page. All you need to do is paste the shortcode into any page or post.
The code also adds the favorites button to each image.
Updating User Favorites
Once favorited, slides for each user are displayed on a separate page and can be unfavorited which removes them from that page dynamically using ajax, without the need to reload the page.
Once removed, the list updates and also changes the button status on the slider from favorited to unfavorited.
Usage
Paste the [meta_favorites] shortcode into any page or post. You can also use the shortcode block for block themes using Gutenberg.
Make sure the plugin settings are as follows.
The button settings for custom colors can be modified.
Installation
There’s 2 zip folders in this downloadable product. You have 2 options.
- You can install each as separate plugins
- You can copy and paste the code from both folders to your child themes functions file and load the scripts from there. A small amount of CSS is included.
Requirements
In addition to this extension, you’ll also need the following plugins :
- Meta Slider
- Favorites by Kyle Phillips
- Favorites button for Meta Slider
You must be logged in to post a comment.