I am trying to remove specific page ID’s from a listing using the following code:
<?php query_posts( ‘post__not_in(264)&post_type=page&posts_per_page=100&orderby=menu_order&order=asc’ ) ; ?>
The ‘post__not_in’ function is not working…no doubt due to the fact that I am completely ignorant on the topic of PHP.
Can someone please tell me what’s wrong with my code snippet?
- The topic ‘excluding page ID's using 'post__not_in'’ is closed to new replies.