Adding A Search Box To The Home Page

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

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #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

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