06 Feb, 2009
get_search_form() in wordpress
Posted by: Jennifer In: WordPress|WordPress Hacks|WordPress Plugins
So I've discovered a new feature in WordPress 2.7 – get_search_form(). What this will do is first (for backward compatibility sake) look for a file named searchform.php in the theme directory – and if it doesn't find it then it generates the HTML for you. (=cringe=) Yeah. You just know I've gotta be overriding that. […]