May I asked you a question?
How to WRAP the GET_SEARCH_FORM();
If it is located inside a loop. Please pay attention at : get_search_form();
The reason I ask you this question is for me to be able to STYLE the SEARCH BOX to be centered at the page.
Please take a look the following:
<?php else :
if ( is_category() ) { // If this is a category archive
printf(“<h2 class=’ccc’>Sorry, but </h2>, single_cat_title(”,false));}
else {
echo(“<h2 class=’center’>no post</h2>”); }
get_search_form();
endif;
?>
Thank you