Do you want to allow users to save posts as favorites in WordPress?
By adding this feature, your members and users can bookmark their favorite posts, or any content they want to read later.
In this article, we will show you how to allow users to add favorite posts in WordPress by creating a bookmark button.
Why Allow Users to Add Favorite Posts in WordPress?
Growing your traffic with new visitors is important, but just as important is getting those visitors to stay on your site, engage with your content, and return to read more.
On a typical site, over 70% of visitors will never return. That’s why smart website owners start an email newsletter and use other tactics to get more repeat visitors.
When your users can keep a list of their favorite content, they have a reason to keep revisiting your site and renewing their membership.
Plus, you can show all your visitors the most popular posts on your WordPress website to keep them engaged and reading more.
With that in mind, let’s see how to allow users to add favorite posts on your WordPress blog.
How to Allow Users to Add Favorite Posts in WordPress
Before a visitor can favorite a post, they must be able to create an account for your website.
If you don’t already have this set up, then there are a few different ways to do it. You can create a WordPress membership site if you’d like to monetize your site by creating premium content for members only. Or you could simply allow user registration on your WordPress site with default user roles and capabilities.
Once you’ve enabled user registration, you’re ready to add a ‘favorite’ button to your site.
To start, you’ll need to install and activate the CBX Bookmark & Favorite plugin. If you need help, then please see our guide on how to install a WordPress plugin.
Once the plugin is activated, you can easily add a bookmark button to your site.
The CBX Bookmark and Favorite plugin has a block that allows you to add a bookmark button to a particular page or post. This is useful if you want to control exactly what content your members can favorite, so we’ll be covering the block method towards the end of the post.
However, adding a button to every single page and post can take a lot of time and effort particularly if you’ve already published lots of content.
With that in mind, you may want to configure the plugin to automatically add a bookmark button to all your pages, posts, or pages and posts.
To add the bookmark button automatically, head over to CBX Bookmark » Setting.
On this screen, scroll to the Post Type Selection section.
You can now click on the field to open a dropdown showing all of the different content where you can add a bookmark button.
Simply click on the different content types where you want to add the button.
In the following image, we’re letting our members favorite any page or post.
Once you’ve done that, you’ll need to enable the plugin’s auto integration feature. This will add a bookmark button to the different content types in the ‘Post Type Selection’ field.
To do this, click on the field next to ‘Post Type Auto Integration.’ You can then click to select all of the different content types where you want to add a bookmark button.
After that, the next step is choosing whether the bookmark button will appear above your website’s content or below the content.
In the following image, you can see an example of how the bookmark button will look when displayed above the post content.
This makes it easy for users to quickly bookmark a post that they plan to read later.
Another option is to show the bookmark button below the post’s content.
A visitor who reaches the end of a post has typically read some, or all of the post content. If they enjoyed that content, then they can use this button to favorite the post so they can easily re-read it later.
Once you’ve decided whether to add the button before or after the post’s content, open the ‘Auto Integration’ dropdown. You can now click on either ‘Before Content’ or ‘After Content.’
This page has some other settings that allow you to change the label that’s used for the bookmark button, add a button to your archive page, and make other important changes.
These settings are all fairly self-explanatory so you may want to spend some time looking through them. When you’re happy with the changes you’ve made, it’s time to publish your new bookmark buttons.
To do this, simply click on the Save Settings button. Now when you visit your website, you will see a new bookmark button on your pages and posts.
How to Add a Favorites Button to Any WordPress Post or Page
Another option is to add a bookmark button to specific pages, posts, or custom post types using the block editor.
This can take a lot of time especially compared to adding the bookmark buttons automatically. However, it does let you control exactly where the button appears on your website. For example, you could create a ‘favorite’ button in the middle of a post’s content.
To create the bookmark button using a block, simply open the page or post where you want to add the button. Then, click on the ‘+’ icon.
In the popup that appears, type ‘CBX Bookmark Button’ to find the right block.
Then simply click on ‘CBX Bookmark Button’ to add the block to your page or post. There are a few different CBX blocks, so make sure you click on the right one.
By default, this block shows a bookmark button and the number of users who have favorited the page or post.
People are more likely to read a post if it seems popular, so this number can be a form of social proof.
However, if your site is new, very few people may favorite your posts. A bookmark button that shows very low numbers can make you seem unpopular.
For this reason, you may want to hide the number until more people engage with your website’s content.
To do this, click on the ‘CBX Bookmark Button’ block. Then in the right-hand sidebar toggle ‘Show Count’ from blue (active) to grey (disabled).
You can now go ahead and update or publish the page as normal.
Once you’ve done that, you will see the button live on your website.
How to Add a List of Favorite Categories to your WordPress Website
Users can organize their bookmarked content by adding it to different categories. This will make it easier for users to revisit a particular post, even if they’ve bookmarked dozens of pages and posts.
Users can either create a new category or add the page to an existing category.
The CBX Bookmark & Favorite plugin even has two special blocks that let you show the user’s categories on your website.
The ‘CBX Bookmark Categories’ block shows all the different categories that the visitor has created. The user can then click on a category to see all the posts they’ve bookmarked within that category.
You can add this block to any page or post but it’s a good idea to make sure it’s easy to find. For this reason, you might create a new My Bookmarks page and then add this page to your navigation menu.
Another option is to add the ‘CBX Bookmark Categories’ block to your membership pages. If you’re using MemberPress to power your membership site or online store, then MemberPress creates a My Account page automatically.
You can add the ‘CBX Bookmark Categories’ block to this My Account page.
In this way, your members can easily revisit any posts that they’ve favorited.
To add a ‘CBX Bookmark Categories’ block to a page or post, simply click on the ‘+’ button.
You can then type in ‘CBX Bookmark Categories’ and click on the right block when it appears.
Then, just save or update your WordPress page as normal.
Another option is to show the user’s bookmarked posts as a list. To do this, click on the ‘+’ button and search for ‘CBX My Bookmarked Posts.’
By default, the ‘CBX My Bookmarked Posts’ block will show 10 posts that the visitor has marked as their favorite.
To show more or less posts, just click on the ‘CBX My Bookmarked Posts’ block in the post editor. You can then type a new number into the ‘Number of Posts’ field.
The default setting is ‘Descending Order,’ which shows the most recently favorited posts at the top of the list.
Want to show the most recently bookmarked posts at the bottom of the list instead? Simply open the ‘Order’ dropdown and click on ‘Ascending Order.’
Additionally, this block will show bookmarked content for all post types by default.
If you prefer, then you can show bookmarked content for a specific post type, such as pages or media. To do this, simply find the ‘Post Type(s)’ section and click on the type of content that you want to show.
When you’re happy with how the block is set up, you can either publish or update the page.
How to Show Your WordPress Site’s Most Frequently Bookmarked Posts
FOMO means that we are more likely to try things that we see other people recommending, buying, using, or reading.
With that in mind, you may want to show a list of your site’s most-bookmarked pages.
This can make users want to find out why this content is so popular with other members of the community, which can get you more pageviews. For example, many news aggregator websites have a ‘Most Popular Stories’ section.
It can also encourage visitors to become members by showing that your site has an active community with lots of interesting content.
To add the list to your site, simply open any page, post, or widget-ready area. Then, go ahead and click on the ‘+’ button and type in ‘CBX Most Bookmarked Posts.’
You can then click to add the block to your site.
After adding the block, you can customize it by following the same process described above.
You can also change the ‘Duration’ of the list. For example, it can show the most frequently bookmarked posts for the last day or even for a full year.
Choosing a shorter duration typically means that the list will change more frequently. This is a great way to keep members coming back to your site to check out the latest content.
To select a timeframe, simply open the ‘Duration’ dropdown and click the time period that you want to pull posts from.
When you’re happy with how the block is set up, don’t forget to save your changes by publishing or updating the post.
Now if you visit your site, you’ll see a list of your site’s most frequently bookmarked content.
How to Monitor Your Audience’s Favorite Posts
Once you’ve added some bookmark buttons to your website, it’s smart to monitor how members use those buttons.
This can help you identify content that’s getting the most user engagement. You can then look for similar products and add them to your affiliate site to try to get even more engagement and sales.
To start, you can see a list of all the different categories that members have created by going to CBX Bookmark » Bookmark Categories.
If lots of people use similar categories, then it suggests this type of content is popular with your users. You may be able to increase your blog traffic and keep your members engaged by creating more of this type of content.
You can also see all the posts that users have bookmarked by going to CBX Bookmark » User Bookmarks.
If lots of people favorite the same post, then you should create more of this type of content.
We hope this article helped you learn how to allow users to add favorite posts in WordPress. You may also want to check out our guide on how to create a contact form and the best AI chatbots for your website.