Published on June 15, 2021

How to Show User’s Favorite Posts in Oxygen

Sridhar Katakam

Updated on 28 Jul 2021

This members-only tutorial provides the steps to pre filter posts (can be of any post type) to only those favorited by the currently logged-in user via the Favorites plugin using Oxygen's Easy Posts/Repeater component.

Step 1

Create a Page titled say, "My Favorites" and edit it with Oxygen.

Add an Easy Posts or Repeater component inside a Section. Configure it to your liking. Typically you would set the WP Query to custom and select post or your post type for which Favorites is enabled as the Post Type.

Step 2

Add a Code Block above the Easy Posts/Repeater.

PHP & HTML:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-ocalendar-check-omagnifiercrossmenuchevron-downarrow-right