In this tutorial we are going to see how to offer the possibility for users to mark as favorites the listings they want in the template Listify.
For this we are going to use a plugin that you have available in the Premium Zone.
The result will be the following:
And within the list we will see it as follows:
Video Tutorial
Subscribe to my channel:
Once we have the plugin we install it in the same way that we install any other plugin.
Once installed, without doing anything else, the little heart will appear in each listing. Without any major configuration.
If we are web users and we click on the little heart, it allows us to add notes to the favorite and add it to a list to sort our favorites.
All of the above without having to do any configuration, but this does not mean that we cannot configure some of the options.
To go to the options we have to go to Settings —> Favorites
- General We can choose the default lists
- Pages We can choose which page will have the favorites of each user
- labels We can change the texts used in the plugin
The most interesting option is Pages since we can choose which page we want users to see their favorites on.
By default we create the favorites page with the following shortcode:
We can use the page that the plugin creates by default or create any page and add the following shortcode or shortcode:
[astoundify-favorites-dashboard]
Add Favorites in the user menu
To finish off the move, we would need to add the "My Favorites" option to the user menu.
To do so we just have to add the favorites page to the Tertiary Menu
On the favorites page we will see a table with all the favorites that we are saving:
I hope you liked it 😉