Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #6597

    Is there a way to add a search field in the ‘clean-cut’ theme? Or could you point me to a thread maybe that explains it. I haven’t been able to find what I’m looking for. I would like to add it to the main page if at all possible, ideally it would be nice to have it globally but the main page would be a great start. We have a lot of podcasts and it would be nice if people could search for a particular reference to find what they are looking for. Thanks in advance!



    I think this can help you :)


    Hmmm. Thanks for the response, i’m really not very good at this stuff, does something need to go in the parentheses? where this is…

    <?php get_search_form(); ?>

    if i just put this in, it still doesn’t do anything, any more help would be much appreciated. :)



    where exactly do you want to put your search form? Including the code you posted works fine, you just have to be sure you don’t paste that code within other php tags.

    For example:

    <?php some code <?php get_search_form(); ?> some more code ?>

    won’t work. if you want to do this you have to leave out those tags and just use

    <?php some code get_search_form(); some more code ?>

    If you can’t figure it out you can just tell us where you’d like to put it and we’ll give you specific instructions :)


    well, i would like to put it just to the left of the nav menu, or if that just won’t work i guess we could put it under the slides, logically the best place would probably be in line with nab menu. but hey, i’m getting free advice and people are kind enough to help too:) much appreciated by the way! so what ever solution you guys think would be best i’m ok with. it would just be nice to get it in there because there are some other things i want to do i just have to have that in there first. oh the site is if you need that. i pretty much left the home page alone in the template.


    I’d suggest to absolute position the form. Add following code to header.php

    <div class="custom_search">
    <?php get_search_form(); ?>

    I’d suggest to insert ths code before following code line:

    <!-- Navigation for Pages starts here -->

    Then insert following code in style.css:

    .custom_search {
    position: absolute;
    right: 0px;
    top: 90px;

    and position it by changing the top/right value(s).


    Thank you so much, that worked great! This is a huge help to us.


    Glad that we could help :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Search field’ is closed to new replies.