• Hi, I thanks for making this awesome plugin.

    Today I have a problem, when searching in mobile mode, it works. but it not work in desktop mode.

    I make a website with bootstrap 5, with wordpress as a CMS.

    On mobile mode, I implemented a sticky navbar and footer. So when in mobile mode, my website looks like a mobile app.

    Because of that, the mobile navbar and desktop navbar are made separately.

    So that’s why I installed two Ajax search lite shortcodes on every pages.

    My question is, how can I use two Ajax search lite shortcodes, in one page? without interrupt the performance of Ajax search lite?

    Please help me.

    Thank You.

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Thank you for your kind words!

    Sure, you can put the search shortcode to the same page as many times as you want. Although it is arguably better to use one, it should not be an issue.

    If there is a problem, that might be related to something else as well. The most likely cases are 3rd party scripts, especially ones that may change the DOM layout or move around some elements via javascript. Changing/moving elements detaches event handlers and can cause these exact issues. The plugin accounts for this for most of the cases, but sometimes they are not avoidable.

    Can you add a URL where I can check this? I might be able to tell if this is the case. Thank you!

    All the best,
    Ernest

Viewing 1 replies (of 1 total)
  • The topic ‘Search not working when use multiple php short code in the same page’ is closed to new replies.