This premium tutorial is similar to the earlier one but when using an Easy Posts component instead of a Repeater for excluding the current post from Recent Posts on single post pages with Oxygen.

We shall

  • add an Easy Posts with custom Template PHP and Template CSS where the featured image will be set to appear as a regular img element that is properly sized instead of a full-sized background image.
  • use pre_get_posts to alter the Easy Posts query so it does not include the current post being viewed.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Custom excerpt


This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/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?


Find the article helpful and wish to donate?



You need to be logged in to view and post comments.
Not a member yet? Join here.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: