Displaying Search Results
-
Hi,
I’m having a huge issue with my wordpress website. I have a custom built theme, where I have a searchform.php. However, I have an issue with searching for posts.
If I search for a post and there is one found, it keeps me on the same page (single.php as this is on the blog post page). However, I want this to go to another page that will display the results differently. I have tried search.php, this didn’t seem to work. I have tried archive.php and this didn’t work.
Sometimes, It searches and resorts back to my index.php ( I don’t want this as my homepage is on there. as the blog posts are on there).
If anyone has any help please.
- The topic ‘Displaying Search Results’ is closed to new replies.