Forums

How Can I Add a Search Box In-Line With Content? (2 posts)

  1. BrianMI6
    Member
    Posted 4 months ago #

    I'm targeting a page of my site for a local keyword like "Ford Dealers Near Me" and I want to have a search box prominently displayed at the beginning of my content in addition to the default search box in the header nav bar.

    How do I add a search box to the content area? I've found no plugins and all the stuff I find on google search relates to adding it to the nav bar or sidebar.

  2. BrianMI6
    Member
    Posted 4 months ago #

    I figured it out on my own. You just add the following sniped to the content in the HTML mode:

    <form id="searchform" method="get" action="/index.php">
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" value="Search" />
    </form>

Reply

You must log in to post.

About this Topic

Tags