We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Disable title links on certain pages Reply To: Disable title links on certain pages

#18927
Tom
Keymaster

Hi there,

Absolutely, try this:

add_filter( 'wpsp_disable_image_link', function( $disable, $settings ) {
    if ( 123 === $settings['list_id'] ) {
        $disable = true;
    }

    return $disable;
}, 10, 2 );

Just update 123 to the ID of the list you’re targeting.