Hiding some posts
-
My site is http://www.jazzjam.org.uk and I have a slight issue. I created some posts purely to get images into the slider, there is no other content on the page. That part worked well.
If you click on ‘The Musicians’ and then on ‘Brendan’ towards the top you have ‘Lee >>’ on the right to take you to the next artist. However on the left (and beyond) you have ‘Brendan – Jazz Jam>>’ which is the first of the slider only posts. I don’t want them appearing here, so how can I hide them from this part of the site please?
I hope that this is clear!
Thanks very much,
Chris
Add this to child theme style sheet or in Graphene custom CSS
.post-ID {
display: none;
}Where .post-ID is the ID of post that you want to hide. If you don’t know how to find out post IDs, Google for it. I’m on mobile now. So I can’t write those things…
ModThanks guys.
Kenneth I haven’t really gone down the road of Action Hook Widgets – so a bit nervous to do so. Is that my only option?
Prasanna I added
.post-167 {
display: none;
}
where the ‘Brendan – Jazz Jam’ post has the ID of 167. It removed the post but I still get the ‘Brendan – Jazz Jam>>’ option at the top. Have I done something wrong? Can I take out several posts this way by just putting a comma between ID’s, or do I need a separate entry in the Options CSS for each post?
Appreciate you taking the time to consider my problem.
Chris
AdminIn version 1.8, posts that belong to slider categories will be excluded from the post navigation links as well, when the “Exclude the categories from posts listing” feature is enabled.
You can get this feature now by replacing the theme’s
includes/theme-loop.php
file with the trunk version here:http://graphene.googlecode.com/svn-history/r417/trunk/graphene/includes/theme-loop.php
AdminGraphene Options > Slider Options, select “Show posts from categories“, then select Everywhere for the “Exclude the categories from posts listing” option.
AdminHave you selected the categories for the slider posts?
Yes. I have Caegories to display as ‘Slider’ and Exclude Categories was ‘Everywhere’ but I have changed it back to ‘Disabled’ as it messed up the front page (showed all the Musician posts on one page).
I’ll put it back to ‘Everywhere’ for 20 mins to allow you to have a look!
Thanks, Chris
Viewing 10 posts - 1 through 10 (of 16 total)
- 1
- 2
- You must be logged in to reply to this topic.