• Hi there,

    I’m having a little problem. When I’m using the function bawmrp_get_all_related_posts( $post ) in my template and I’ve selected some posts who are related everything is going perfect.

    But when I haven’t select a related post to the page, I’m getting all the posts instead of nothing.

    What’s going wrong?

    I’m using the following code to get the related posts:

    function get_related($page){
    $related = bawmrp_get_all_related_posts($page);

    Thanks in advanced!

    https://ww.wp.xz.cn/plugins/baw-manual-related-posts/

The topic ‘No selected, shows every post’ is closed to new replies.