Site logo

Archived topic

Generate Press and WP Show Posts

5 replies · Started by szymek.nowak on August 16, 2018

Viewing posts 1–6 of 6

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.

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' );
} );

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.

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

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

No problem! :)

This archived topic is closed to new replies.