Support » Plugin: WordPress Related Posts » Exclude custom post types

Viewing 1 replies (of 1 total)
  • Plugin Author jureham

    (@jureham)

    Hi,
    wp_rp_should_exclude() is used for excluding categories.
    To exclude custom post types you’ll have to modify line 51 in wp_related_posts.php and line 19 in recommendations.php.

    We might add and option to exclude post types in the future version, but for now this is the only way.

    Best, Jure

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude custom post types’ is closed to new replies.