This members-only tutorial provides the steps to include posts from Custom Post Types in search results and showing the unlinked comma-separated taxonomy terms depending on the post type of each entry when using Oxygen.


post posts will show category terms
movie posts will show movie_category terms
event posts will show event_type terms

Step 1

If you have not already, add a search form perhaps in a Header Row in the Header Builder.

Step 2

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Add support for HTML5 markup


add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) );

Save changes and activate.

Add another snippet to have the search results be limited to your desired post types.

Title: Custom Search Form


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: