[Resolved] Generate Press and WP Show Posts

Home Forums Support [Resolved] Generate Press and WP Show Posts

Home Forums Support Generate Press and WP Show Posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #651443
    szymek.nowak

    Hi Tom.

    I’m using GP Premium along with your plugin WP Show Posts. This setup is working great so far.

    I love GP for the speed (and this support forum).

    WP Show Posts plugin is also great.

    However, I was very surprised to find it is using jQuery.

    Is there any way to disable jQuery for WP Show Posts and still make it work?

    Are there any work-arounds?

    Thank you.

    Simon.

    #652022
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    WPSP uses a script as a fallback for browsers without flexbox.

    You can remove it like this:

    add_action( 'wp_footer', function() {
        wp_dequeue_script( 'wpsp-matchHeight' );
    } );
    #652422
    szymek.nowak

    Hi Tom.

    I added this to functions.php and I still can see jquery loading.

    I think this code only removed some parts of jquery references.

    Can you please take a look at my site’s code?

    Thank you for your assistance.

    #652868
    Tom
    Lead Developer
    Lead Developer

    And you’re sure it’s being added by WPSP and not another plugin?

    #654117
    szymek.nowak

    You were right. It was another plugin – Wordfence. Thank you anyway!

    #654586
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.