WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] searchform.php (6 posts)

  1. Metztli
    Member
    Posted 4 years ago #

    Hi folks,

    I'm adjusting twenty ten theme to my own flavor, first question is that oke ? Then my second question, i noticed searchform.php is not in the theme folder. Is that of a specific reason ? Third question, can i somewhere change the submit button to a type=image ?

    Looking forward to hear the answers.

    Thank you for making the Twenty Ten theme, i love it, really nice code.
    Thank you wordpress for making it all possible ;)

    bye, M.

  2. curtismchale
    Member
    Posted 4 years ago #

    yeah that's fine. You'll need to add your own searchform.php file with all of the needed content to be able to change the button type.

  3. Metztli
    Member
    Posted 4 years ago #

    ok, THNX, for the quick reply. I was looking in files i wasn't supposed to look at :)

  4. chinmoy
    Member
    Posted 4 years ago #

    default search is in wp-includes/general-templates.php file.

  5. Metztli
    Member
    Posted 4 years ago #

    works perfectly :)

  6. soshann
    Member
    Posted 4 years ago #

    so to create a searchform.php do I just copy the search function from the general-templates.php file?

Topic Closed

This topic has been closed to new replies.

About this Topic