<div class="gmail_quote">On Mon, Sep 5, 2011 at 13:17, Daniel Fenn <span dir="ltr">&lt;<a href="mailto:danielx386@gmail.com">danielx386@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div>Hi Mike,</div>
<div> </div>
<div>Thankyou for the link. Am I correct that there is no callback function like there is in <font color="#0000bb" face="Courier New">wp_nav_menu or like a walker that one can use in wp_nav_menu?</font></div>
<p>Also is there any such thing as &quot;if search_form(); called from header.php display this, elseif if called from sidebar.php display this else display this&quot; type thing?</p></blockquote><div><br></div><div>There isn&#39;t really, but I don&#39;t think you need to do that.</div>

<div><br></div><div>Your search form will be rendered in a header div or in a sidebar div as appropriate, you can style it accordingly. However this seems to be straying off the topic of theme-reviews, perhaps ask on wp-hackers, or the WordPress support forum</div>

<div><br></div><div>Mike</div></div>-- <br>Mike Little<div><a href="http://zed1.com/" target="_blank">http://zed1.com/</a></div><div><br></div><br>