[Support request] Is it possible to deactivate the ‘link’ function

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Is it possible to deactivate the ‘link’ function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23502
    Francesco Leone
    Participant

    Hi, I have to temporarily disable the ability to see the posts that I show with wp show post, is there a way to disable the link momentarily in order to make it work as a simple image gallery?
    thanks

    #23582
    elvin
    Moderator

    Hi,

    To clarify: You want to remove the post title, excerpt and meta to only display images for WPSP to work as a simple gallery?

    If so, try the following:

    As for excerpt: on WPSP’s content tab, set the “Content type” to “None”.

    As for title: you can remove the title from display but unchecking the “Include title” check box on content tab.

    As for meta items: On WPSP’s Meta tab, you can uncheck all the available entry meta items up for display.

    As for the read more button: leaving the “Read more text” text field empty removes it from display.

    As for disabling the link on images:
    You need to add this PHP snippet –

    add_filter( 'wpsp_disable_image_link', function( $disable, $settings ) {
        if ( 4447 === $settings['list_id'] ) {
            $disable = true;
        }
    
        return $disable;
    }, 10, 2 );

    Replace “4447” with your WPSP list id.

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