You could simply create a category called Album of the Week and file those particular posts in it. When a visitor clicks that category name those posts will come up. They can then select individual posts to read and/or comment on.
With respect to excluding those posts from the front page you can do it with the query_posts function. Look in index.php for…
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
…and modify it as such…
<?php query_posts('cat=-ID'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
…where ID is the numerical ID of the category you want to exclude.
More reading on query_posts.
Interesting. I tried it and it’s pretty easy.
Can I also hide the category from the “Categories list” in my sidebar? Because I don’t need it to show up there, I’ll put a direct link under the Album of the Week picture. Is that possible?
Also how can I retrieve the post from a specified category in a page? Cause right now if I click on the “hidden category” it doesn’t display any posts. It redirects me to the homepage without my hidden post.
Thanks for helping me 😉
Have a look at wp_list_categories
Edit: after re-reading the two questions perhaps I should be more clear.
Can I also hide the category from the “Categories list” in my sidebar?
Yes. Peruse the link I gave you above.
I’ll put a direct link under the Album of the Week picture. Is that possible?
No need to insert a direct link. <?php the_category(', '); ?>
will display a link to the category of the post. In your theme it could be used like Posted in <?php the_category(', '); ?>
or something similar. More info on that here.
if I click on the “hidden category” it doesn’t display any posts. It redirects me to the homepage without my hidden post.
What theme are you using?
I’m using “Bluebeam” designed by Website Templates.
I’m sorry if I’m such a newbie, I appreciate your help.
By the way, where do I insert this?: <?php wp_list_categories(‘arguments’); ?>
I sorted out how to exclude the category downloading a plugin. SO that problem is solved.
The only problem left is that when I click on the hidden category it redirects me to the homepage instead of displaying all the post from that categeory.
EDIT: Actually, now when I click on ANY category it redirects me to the homepage…What did I do wrong?
Thanks again!
Nevermind. With the plugin I downloaded I solved everything. Thanks LenK for your help. Thank you very much 😉