Remove one post from appearing in the give archives
-
Hello.
So is there a way to remove one post from showing in the post archives? I managed it fine when i wrote my own query for latest give posts (with the help that you supplied in the last ticket). The code i wrote there was
<?php query_posts(array( 'post_type' => 'give_forms', 'showposts' => 10, 'post__not_in' => array(395) ) ); ?>
however when it comes to the post archives i dont know where to find the post query.
I could write my own query for the archive page and create something custom but the post would still be there in the archives.
My aim, to remove one post which is being used as a ‘quick donate’ – which will open in a modal sitewide. To give you an example… https://test7.vergedesign.co.uk
The post in question has been removed from the home page slider of give posts… but still shows in the archive page (‘projects’)
Massive thanks in advance.
Best
H
- The topic ‘Remove one post from appearing in the give archives’ is closed to new replies.