• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Adding A Search Box To The Home Page

Home › Community Forums › Aspire Theme Support › Adding A Search Box To The Home Page

Tagged: search form

  • This topic has 0 replies, 1 voice, and was last updated 4 years, 4 months ago by Scott Gilbert.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • January 19, 2019 at 7:46 pm #23021
    Scott Gilbert
    Customer

    Hello.

    I would like to add a search box (form) to my home page. WordPress does not support it in the nave bar anymore (and the work around is a huge box and deforms the nav bar). I figured I’d put it somewhere on the page.

    I use the search widget, but that makes also makes a huge search box across the whole page. I’d like to control the format of the search so it does not overwhelm the design of the page.

    I tried creating a shortcode. I used this code:

    add_shortcode(‘smmsearch’, ‘get_search_form’);

    And then used this shortcode to pull up the form: [smmsearch]

    When I used the shortcode, the form looked even worse than with the search widget because it also had a button under it. My question is, can I add some kind of parameter to the code above to control the width, and even the field text? …and remove the button?

    I know this code is not exactly an Aspire theme issue, so if there is any other way to do this in the theme, that would be fine. Even a smaller search box in the footer would work (that might actually be ideal). I have black space available on the left or right side in my footer, which would be cool if I could put the search there (https://scottsmoneymachines.com/).

    Thank you.


    Learn to Make Money Online
    http://ScottsMoneyMachines.com

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework