Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6345789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:53:28+00:00 2026-05-24T20:53:28+00:00

i Put search widget in my website (default WordPress 3.0.4). The default output will

  • 0

i Put search widget in my website (default WordPress 3.0.4). The default output will be

<form action="http://alessandro.host/" id="searchform" method="get" role="search">
    <div><label for="s" class="screen-reader-text">Search for:</label>
    <input type="text" id="s" name="s" value="">
    <input type="submit" value="Search" id="searchsubmit">
    </div>
</form>

now i want to override that to make the output will be like this

<form action="http://alessandro.host/" id="searchform" method="get" role="search">
    <div>
    <input type="text" id="s" name="s" value="Search">
    </div>
</form>

Notice there is no label and send button

how i can make it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:53:28+00:00Added an answer on May 24, 2026 at 8:53 pm

    You will need to rename your search.php to searchform.php and place it in your theme folder. WordPress first checks the file in current theme folder and if not found then it displays the default template.

    I think you need this and this.

    It describes both ways, adding your template or override the basic search form/criteria.

    Happy Coding

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found that SO put the search input inside a form tag, and i
Okay, so I have a website where the user can put a search query
I will be starting a simple datastore-and-search project soon. Basically, one of those put
Hi am developing my first grails application now i want to put search method
I want to put a search form on my site, but when you hit
i'm aiming to put 2 search forms on the same wordpress page. i'm using
Okay so i just wanted to put a little search form on my site
Im trying to build a sidebar form on a website in order to search
I have put together a very complicated search form. Using arrays I have managed
i want to put overlay like http://www.estately.com/CA/Cathedral_City#map this search in google map but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.