Viewing 2 replies - 1 through 2 (of 2 total)
  • stephencottontail

    (@stephencottontail)

    Short version: It’s a bug in the theme. Until the developer fixes it, a temporary fix would be to rename sidebar-footer.php to sidebar.php.

    Long version: What’s happening is that on your 404 page, your theme calls get_search_form(). That creates the first search form. Then your theme calls get_sidebar(), except that your theme doesn’t contain a sidebar.php, it only contains a sidebar-footer.php. So WordPress calls in the default sidebar.php, which also calls get_search_form(), leading to duplicate search bars.

    Thread Starter igironi

    (@igironi)

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘when wrong permalink is typed the page has 2 search bars’ is closed to new replies.