• Hi!

    Is it possible to disable selectivizr load, if browser is IE8? This JS causes more problems with IE8 than helps (pages are not loading, white pages, FontAwesome icons are not loading correctly). I can’t test with IE6 and IE7, but these browser are too old anyway to display page more or less correctly. IE8 is old too, but pretty many old XP users are still using this unfortunately.

    I know, I can delete script hook in Vantage theme functions.php, but after theme update this change will be lost. Is there any clean and update-proof way to disable this JS to load via child theme functions.php?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi digitohter

    Thanks for reaching out.

    We can de-register this script in the functions.php file of a child theme. I’ll work this up for you when I’m next on.

    Chat then.

    Please partially ignore what I said there, this script isn’t registered so de-registering it isn’t the correct term. We can unhook the function that’s inserting it though.

    Please find a child theme here:

    https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-remove-selectivizr.zip

    You can install the ZIP from Appearance > Themes > Add New: Upload Theme.

    Test it out first. If you’re happy you’ll then need to redo the following settings that get reset when a child theme is activated:

    Customizer
    Widgets
    Menus

    Hope that helps.

    Thread Starter seprita

    (@digitohter)

    I don’t know, why You made things so complicated, I just had to copy script from Your functions.php to my child themes functions.php and selectivizr script is successfully unhooked.

    Thank You for the very quick and good support!

    Super, glad to hear you made progress here. I wasn’t sure if you have a child theme up and running yet. I built one up as that’s usually easier than explaining the process.

    All the best ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disabling selectivizr load’ is closed to new replies.