search result in the same page
-
Hello,
I’ve got a search post by custom post type and I need to show the result posts in the same page instead in archive page. This is my code:
<form role="search" action="'. site_url('/') .'" method="get" id="searchform"><input class="introducir-termino-busqueda" type="text" name="s" placeholder="'. __('Search ...','cleanstart-child').'"/><input type="hidden" name="post_type" value="recurso" /><input class="buscar" type="submit" alt="Search" value="" /></form>
Could someone help me?
Thank you very much in advance
Zaida
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘search result in the same page’ is closed to new replies.