This members-only tutorial provides the steps to show the search results if there is at least one result or redirect the visitor to a specific URL when there is none on search pages in Oxygen.
We shall add a custom shortcode for this and wrap all the content in Search Results Template's Inner Content inside a Shortcode Wrapper component with our shortcode.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Search Results
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($27/month or $169 one-time).
Already a member? Log in below or here.
Enter your email address to subscribe to this blog and receive notifications of new tutorials by email.
Join 160 other subscribers
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.