Support » Plugin: Polylang » Search bar missing input box

  • Resolved crinrict

    (@crinrict)


    Hi

    I just updated my blog to the newest polylang version and now my search bar doesn’t work anymore.

    The input box no longer renders.

    It does seem to be some conflict between my theme as it still works on one of my other blogs where I also use polylang but a different theme.

    It worked fine with this theme before today’s update though and if I remove polylang, the search bar starts working again.

    Both the search box in the hamburger menu and the the main navigation bar are not working.

    Any ideas ?

    EDIT: I found that my theme has no searchform.php.

    • This topic was modified 3 years ago by crinrict. Reason: additional info

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    It looks like trying to fix a conflict with a theme has raised another one :/.

    With no searchform.php, it will be harder to find the relevant code in your theme. Could you contact your theme developer and ask him/her to share the search form code here?

    • This reply was modified 3 years ago by Chouby.
    Thread Starter crinrict

    (@crinrict)

    Going to open a ticket with them as well and see if I can get some info.

    EDIT: My theme has a free version here: https://wp-royal.com/themes/item-ashe-free/ if that helps. I didn’t test if it occurs on the free version though

    • This reply was modified 3 years ago by crinrict. Reason: added info
    • This reply was modified 3 years ago by crinrict.
    Marian Kadanka

    (@mariankadanka)

    Same problem here, search form messed up because it is missing all the atributes except action.

    You should use non-greedy regex in frontend-filters-search.php, ‘#action=”(.+?)”#’ instead of ‘#action=”(.+)”#’

    Marian Kadanka

    (@mariankadanka)

    Please consider merging my patch https://github.com/polylang/polylang/pull/780

    Plugin Author Chouby

    (@chouby)

    @crinrict Thank you for the theme. This helps us to test.
    @mariankadanka Thank you for the PR.

    Thread Starter crinrict

    (@crinrict)

    @mariankadanka Thanks so much. Making this change worked perfectly and my search box is now back in business.

    That was a life saver as the search function is very important for my blog.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search bar missing input box’ is closed to new replies.