Search bar help
-
code so far:
<?php if(is_search()){ if (have_posts()){?> <div class = "leftSideWrap"> <div class = "top"></div> <div class = "middle"> <h2>Search Results:</h2> </div> <div class = "bottom"></div> </div> <?php } else{?> <div class = "leftSideWrap"> <div class = "top"></div> <div class = "middle"> <h2>No results found</h2> </div> <div class = "bottom"></div> </div> <?php } } ?>
I want to display the search query results like this:
“You searched for: <?>,
The search found <?> results”what goes at the <?> bit?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Search bar help’ is closed to new replies.