In Wordpress I created 2 templates :
- The first template is a custom homepage
- The second template is custom page for for post results(search by category, search by keywords)
After that I specified them in Wordpress
The custom homepage is successfully shown when I visit the website, but when I click on a specific category, my custom posts page is not showing and I get the default page instead.
search.php
, hidden inputs, and URL parameters, there's no need for the page template – Tom J Nowell♦ Oct 16 '18 at 19:28