WordPress.org

Ready to get started?Download WordPress

Forums

Search form issue (2 posts)

  1. combus
    Member
    Posted 5 years ago #

    Hi, I'm trynig to style my search form, I read through the codex, and Here it says the search form can be found on the searchform.php, however that file doesn't exist on the default theme... how can I edit the search form?

    Thanks!

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    You need to create your own searchform.php.

    The easiest way to do this is to check the source of a page that uses the default search form and simply copy the form markup (that's everything from <form to </form>) into a text editor. Save the new file as searchform.php and upload it to your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic