I'm sorry for this scholar question, but I'm totaly confused with search in Wordpress. What is the difference beetwen searchpage.php, searchform.php and search.php? Could anybody tell me how it all works? Thanks.
|
|
||||
|
|
|
Your question is most likely referring to a specific theme, but I'll answer it for the current default Twenty Ten (Wordpress Theme) as it's well documented. You find it in the The main search template in there is
That is done in the wordpress function
|
|||||||
|
|
searchpage.php is a custom page that usually includes searchform.php. It offers functionality for the end-user to enter search criteria and press submit button. The results appear in search.php. |
|||
|
|