Support » Plugin: WP Show Posts » Solid, works, but lacks of one important feature..

  • 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 1 year, 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.

    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.