Hi,
I'm trying to implement a search bar on main news page, which is working, however the general news posts are still listed below the search results. Is there a way to open the results in a new page or have the general posts hidden so just the search results show?
This is my code so far...
<?php perch_search_form(); ?>
<?php perch_content_search(perch_get('q'), [
'template' => 'search-result.html',
'count'=>9
]); ?>
<div class="row">
<?php perch_blog_recent_posts(9); ?>
</div>
Thanks