• Great Plugin, works, easy to understand, almost nothing to complain. The problem is, sometimes I want to display custom post types as static content (without a link to single posts).. Would it be possible to add a checkbox in backend to disable the link from titles and thumbnails?

    Edit: Nice support too =)

    • This topic was modified 6 years, 7 months ago by Azragh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tom

    (@edge22)

    Hi there,

    An option would be nice, we’ll look into that.

    For now, it’s easy to do with a simple filter:

    add_filter( 'wpsp_disable_image_link', 'tu_disable_links', 10, 2 );
    add_filter( 'wpsp_disable_title_link', 'tu_disable_links', 10, 2 );
    function tu_disable_links( $output, $settings ) {
        if ( 177 === $settings['list_id'] ) {
            return true;
        }
    
        return $output;
    }

    Just be sure to change 177 to the ID of your list.

    Thread Starter Azragh

    (@azragh)

    Thanks a lot, would be great to see this in the next update. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Solid, works, but lacks of one important feature..’ is closed to new replies.