• Hello,

    The code below is not excluding the current post using ‘this’
    <?php echo do_shortcode("[catlist id=17 numberposts=3 excludeposts=this]"); ?>

    But if i designate the post ID to the exclude it does like below:
    <?php echo do_shortcode("[catlist id=17 numberposts=3 excludeposts=37903]"); ?>

    Any reason why ‘this’ is not removing the current post?

    https://wordpress.org/plugins/list-category-posts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Post not working correctly’ is closed to new replies.