[theme-reviewers] searchform.php, why?
Daniel Fenn
danielx386 at gmail.com
Mon Sep 5 12:17:22 UTC 2011
Hi Mike,
Thankyou for the link. Am I correct that there is no callback function like
there is in wp_nav_menu or like a walker that one can use in wp_nav_menu?
Also is there any such thing as "if search_form(); called from header.php
display this, elseif if called from sidebar.php display this else display
this" type thing?
I can post the codes that I will need to use if need be.
On Mon, Sep 5, 2011 at 10:01 PM, Mike Little <wordpress at zed1.com> wrote:
>
> On Mon, Sep 5, 2011 at 12:50, Daniel Fenn <danielx386 at gmail.com> wrote:
>
>> Hello all,
>>
>> Thankyou for your answers. Mike, you said that I can use filters to
>> change the markup. Can you please link to the codex (or any other site) that
>> explains how to do that?
>>
>
> http://codex.wordpress.org/Function_Reference/get_search_form
>
> There is an example on the page that returns a form with an enclosed div
> instead of a fieldset.
> You could also use search and replace techniques to modify only part of the
> form.
>
> Mike
> --
> Mike Little
> http://zed1.com/
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110905/87b5be0e/attachment.htm>
More information about the theme-reviewers
mailing list