Give help. Get help.

  • # November 25, 2009 at 4:26 pm

    Hi, I’m new on this forum, I was looking for some infos about styling the search form in my WordPress theme. I successfully made my own searchform.php file template in my theme, but I would like to style it in the way is working here on

    Let’s be more specific: in my template I have <?php the_search_query(); ?> set as value for the text form. I would like to display a string (like a super-original "Search…") when there’s no search query inserted yet, and then display the actual search query when it was inserted.
    Should I have to write some other php code or there’s another way to achieve that?
    Thanks for your help.

    # December 2, 2009 at 1:05 am … tionality/

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

You must be logged in to reply to this topic.