Published on March 21, 2020

Related entries based on taxonomy in Oxygen

Sridhar Katakam

Updated on February 08, 2021

This members-only tutorial provides the steps to display four latest products from the same product category as the current product on single product pages in Oxygen while excluding the current product.

This can be applied to posts of any CPT and corresponding (custom) taxonomy.

If you are looking to do this for standard posts and categories, follow the tutorial titled Custom Related Posts Query using Easy Posts Preset instead.

Step 1

Edit the Oxygen Template that applies to single entries of your post type.

Add a Code Block.

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