• Hello,

    Trust my message meets you well!

    Pls kindly help in changing the plugin scripts loading priority
    to prevent conflicts with overrides and other theme files.

    After the recent update, my site has become completely broken which is
    as a result of the plugin scripts loading after the theme scripts.

    This issue also makes overrides to the plugin CSS very difficult.

    It will also be a good addition for a provision to disable the plugin
    bootstrap files in case bootstrap is being loaded from the theme.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @mogeh Please share your theme name and version. Are you using Elementor?

    I’m facing the same problem, activating the plugin breaks the latest XTRA theme with Elementor, no console errors but it looks pretty much like JS conflict or dupe conflicting bootstrap, sorry I don’t have time to help you debug it now but I’d really like to demo it.

    • This reply was modified 1 year, 11 months ago by William.
    Thread Starter mogeh

    (@mogeh)

    Hello William,

    Firstly, i would say ERE is a very good plugin but the author is not very communicative and helpful with issues like this. They have to clearly carry us along with the plugin development updates.

    In fixing my issues, i discovered, they upgraded the bootstrap version from 3 to 4. At the time, my theme was already using version 4 but my theme was still breaking.

    What solved my problem was disabling the bootstrap files used by the ERE plugin using this plugin Asset CleanUp: Page Speed Booster (get it from plugins dir), because i couldn’t dequeue or de-register any of the plugin files from functions.php

    Doing the above solved my problem.

    Warm regards.

    Hello @mogeh Thanks for sharing your solution. Tried the plugin and is impressive, seemed like the pro features were needed but you just need to go to the CSSJS tab, find the plugin’s css asset and unload it site wide, only needed to disable that one: The site fixes (which was my priority) but the ERE plugin’s UI seems affected, I’ll try disabling more things.

    Hope the developer can help us, is not a complete workaround in some cases.

    Allowed the plugin’s css and tested the same setup with 2 other themes (Voice and Enfold) and the property view still doesn’t work, breaks everything. The later theme doesn’t even use bootstrap so I think the plugin is bugged for real or is designed to be used primarily with the premium themes from the developer.

    Either way, in almost 10 years of WPing never had a plugin conflict with any theme from the start, let alone 3 themes. The developer doesn’t review those conflicts, at least in my case: https://plugins.g5plus.net/ere/knowledge-base/ere-self-service-guide/

    Thread Starter mogeh

    (@mogeh)

    Hello William,

    Guess you have been able to find a breakthrough!

    The ERE plugin is very robust and flexible, you just have to give it some time to understand how the layout or bootstrap works since it was designed with the later.

    If you’re using a non bootstrap theme, then there will be no need disabling the bootstrap files from the plugin since those files are needed by the plugin.

    Another thing you can do is to override the existing plugin templates. This article from the plugin author will guide you.

    One of the main issues that was breaking my layout were the following files: wrapper-start, wrapper-end. you can find them at plugins/essential-real-estate/public/templates/global. Since i use a bootstrap theme, the above files were attending what my theme had already added.

    Generally, you have to do some overriding to get the desired result for your project.

    If you believe the current update is breaking your entire site, you can download older versions of the plugin here and test to see if your problem will be solved. When you open the link, scroll to the bottom of the page to access older versions of the plugin.

    My advise generally will be, if you’re able to fix the issue, you have to thoroughly test future updates on a development server before running it on the live website.

    For the past week, the plugin authors have been releasing constant updates which i believe will get the plugin stable again.

    For this plugin: Asset CleanUp: Page Speed Booster, it’s fantastic and can improve the overall performance of your site since it enables you to load scripts only on the pages needed. I’m ditching Autoptimize for it.

    Wish you luck!

    Warm regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change plugin scripts loading priority to prevent theme conflict’ is closed to new replies.