How to make search work with front-page.php?
In the file
header.php I have a search form that sends me to URLs like
localhost/?q=... but, since I have a
front-page.php file, it does not work although in the WP theme I have a file called
search.php that is correct. What would be the best thing to do?
I am working on an
<form target="" class="search"> <input type="search" name="q" placeholder="Caută..." /> <button type="submit"></button> </form>