[Resolved] Confused about file names: searchform, Search Form and search_form
I’m a bit confused about the various names that php template files seem to have.
1) my search form’s file name is “searchform.php”, but in the Appearance > Editor > Template list it also has a name of “Search Form”.
2) And when you want to include it into somewhere such as the sidebar, you call it “search_form”, as in <?php get_search_form(); ?>
Where do these alternative names come from?
I’ve created a new newsletter subscription form called “subscribeform.php”. I’d also like to give it a plain English name and include it in my sidebar.php. How do I do this?
- The topic ‘[Resolved] Confused about file names: searchform, Search Form and search_form’ is closed to new replies.