Forums

Use search form more than once per page (2 posts)

  1. greg2008
    Member
    Posted 3 years ago #

    If I use get_search_form(); more than once per page, it only displays it once.

    I have one in header, then one in 404 and also in ELSE clauses if posts (etc) not found.
    I tested this by using the 404.php, removing header one and 404 and vica versa, only shows one ever.

    I "presume" this is down to the id="s" only allowing once instance?

    Any help please.
    Cheers

  2. greg2008
    Member
    Posted 3 years ago #

    Should add... I also have tried using include (TEMPLATEPATH . '/searchform.php'); but this has the same issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.