How to hide post in WordPress
I think you need in your query is post__not_in but you aren’t showing any code: taken from WP_Query: $query = new WP_Query( array( ‘post_type’ => ‘post’, ‘post__not_in’ => array( 2, 5, 12, 14, 20 ) ) ); if you want to exclude that particular post you’re in you would do: ‘post__not_in’ => array($post->ID), Other questions … Read more