Confused! I need search results to appear in archive.php, but how?
-
I did some searching in WP support, but ended up scratching my head…
I want archive.php to be used to display search results, but currently if I disable search.php, WP defaults to index.php to show the results. How can I get round this?
PS I have read about some confusion in the WP documentation about the default search template. Is it, in fact:
1 search.php
2 index.phpor
1 search.php
2 archive.php
3 index.php?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Confused! I need search results to appear in archive.php, but how?’ is closed to new replies.