• Resolved jmat75

    (@jmat75)


    Hi everyone,

    On the website, I use the plugin Asset CleanUp but when i activate this plugin, the search bar doesn’t work. But When i disabled the plugin, I can employ the search bar.
    Is it a conflict ? How can i solve that ?
    I did a test in pre-prod, i work currently on authentic theme.

    Thanks for your answers

    • This topic was modified 3 years, 9 months ago by jmat75.
    • This topic was modified 3 years, 9 months ago by jmat75.
    • This topic was modified 3 years, 9 months ago by jmat75.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @jmat75 without knowing more information about it, I can’t help you out. So, please share the URL to the page with the issues on this topic. If you’re not comfortable with that, then you can use this form: https://www.gabelivan.com/contact/

    Are there any particular errors you notice in the browser’s console? Let us know here so other users might be able to give you some feedback about it.

    Thread Starter jmat75

    (@jmat75)

    Hello Gabe,

    Here is the link. https://anothertree.com/
    When i click on the search bar, in the url i’ve got “#search” at the end. The Search doesn’t work on all the website.

    I don’t have notice any errors on the console browsers.

    • This reply was modified 3 years, 9 months ago by jmat75.
    • This reply was modified 3 years, 9 months ago by jmat75.
    • This reply was modified 3 years, 9 months ago by jmat75.
    Plugin Author Gabe Livan

    (@gabelivan)

    @jmat75 as I suspected, the problem is from unloading the wrong JS file(s). If I load the URL like https://anothertree.com/?wpacu_no_js_unload (which for debugging purposes, loads back all the JS files), you will notice that it works fine.

    Also, if you scroll to the bottom of the page, you will notice “X Fermer” showing up. This again is related to the wrong unloaded CSS file(s). If you load the URL like https://anothertree.com/?wpacu_no_css_unload (which for debugging purposes, loads back all the CSS files), you’ll notice that text disappearing. There are cases when you unload all the CSS/JS from a plugin (it could be the same here based on my experience), but it still loads HTML code that by default is hidden. When you unload its CSS, there’s no hidden rule applied anymore and it prints the hidden content when it shouldn’t. That content is printed whenever the modal/popup is triggered by the plugin. To unload a whole plugin (including any printed HTML, database queries, etc.), the Pro version is needed.

    What you need to do for the page to load fine, is to remove the unloading rules one by one and see which is JS one that caused the search issue and the CSS one that caused the printing of that text at the bottom of the page. You can use the “Note:” option to leave some comments about the unloaded files in case you forgotten why you decided to unload certain files on various pages.

    Thread Starter jmat75

    (@jmat75)

    Hi Gabe,

    Sorry, i don’t really understand your explanation of your first explanation about the unloading.
    If i understand your reply. I’ve to check all rules that we are setting on our website with the plugin?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with search bar’ is closed to new replies.