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 ($37/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: