Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1152483

    509WebDesigner
    Participant

    Hello,

    I have a site I wish to completely remove all mention of isotope from as it is conflicting with another (popular) plugin. That plugin is WordPress Social Stram: https://codecanyon.net/item/wordpress-social-stream/2201708

    When using this plugin there is a JS error regarding .each not working in the x-site-body JS file. I ran the below code on the specific page I need it on and every works great, except this forces Cornerstone into Skeleton mode which I would like to avoid.

    if(is_page(417)){
        function dequeue_script() {
           wp_dequeue_script( 'x-site-body' );
        }
        add_action( 'wp_print_scripts', 'dequeue_script', 100 );
    }

    I had to launch the site in question and no longer have an example of the error. Suffice to say that since I do not use the masonry view for the blog I do not want isotope loaded anyway, so whether it was for plugin conflict or just the sake of saving load time I would like a function to remove isotope. Maybe this is already a separate JS file I can dequeue? That would be ideal.

    #1152828

    Rupok
    Member

    Hi there,

    Thanks for writing in! We can’t recommend to edit core files of the theme. It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

    #1152833

    509WebDesigner
    Participant

    Thank you for your annoying canned answer! Please thoroughly read my question and provide an accurate answer on how to disable ISOTOPE from within your theme. I did not ask you to do anything with the third party plugin and this response is aggravating at best knowing my post was not read.

    #1152939

    Lely
    Moderator

    Hi There,

    Isotope is what makes the item responsive and removing it may break it. It is not recommended because it’s compiled within the core files. If you still want to proceed, you may delete it from x-body.js from line 131 to line 1538. Then minified the content again replace the content of x-body.min.js to this minified version of the new code. Please note that issues that might result from this is out of the scope of our support because it is note advisable to edit core files. Thank you for understanding.