Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    did you ever figure this out? Would love to know if so please.

    themozofilla

    (@themozofilla)

    Hello,

    Would like to know the answer to this too, this is a big turn-off for me while creating a SILO structure on my new site.

    The plugin itself is great!

    Thanks

    Hello,

    Hope this is still relevant to some. beckibb2 you were on a right track.

    Just add to your args array: ‘post__not_in’ => array($post->ID)
    So it’ll look like:

    $args = array(
            'posts_per_page' => $number,
            'order' => $order,
            'orderby' => $orderby,
            'category__in' => $cats,
            'tag__in' => $tags,
            'post_type' => $types,
    	'post__not_in' => array($post->ID)
          );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude current post when listing related posts’ is closed to new replies.