Grow your CSS skills. Land your dream job.

Search.

  • # September 17, 2011 at 1:11 pm

    How do you use searchbar function in your website that works. because i know you can’t just have a regular input. you need to have some javascript behind it. but how does it work and are there good codes out there?

    right now for my site im using ever page includes the header and footer. is that okay/ or should i be doing it differently for the setup of my website and elements.

    # September 17, 2011 at 1:36 pm

    Are these two separate questions unrelated? I’m also not quite sure what you’re asking.

    # September 17, 2011 at 1:51 pm

    I use google search. $100 a year.

    Bob
    # September 17, 2011 at 1:54 pm

    You can use the < ?php get_search_form(); ?> function for that. (function reference)

    Or you can create a search page like shown here: http://codex.wordpress.org/Creating_a_Search_Page. Some themes have search forms in it already though, but perhaps if you made your own theme you forgot to add it.

    # September 17, 2011 at 2:13 pm

    @ChristopherBurton Thats for the 2nd Question http://css-tricks.com/forums/discussion/13730/php-website-layout#Item_1

    # September 17, 2011 at 2:15 pm

    im also not using wordpress.

    # September 17, 2011 at 2:44 pm

    Then I would go with Google Search as stated above. However, there’s a free version

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".