I have a series of custom post types (workshops) with their own custom taxonomy (cat 1, cat 2, etc). I’m using the archive template to display all the posts, and I’m using the categories as menu items to narrow down by category.
Here is my goal:
When viewing all posts: be able to set one (or two) specific posts to always display at the top of the list regardless of the order set.
Bonus for the sake of learning
When viewing “cat 1″ list = be able to set one or two specific posts to always display at the top of the list regardless of the order set.
Hmmm, I’m not sure I was clear (or I’m misunderstanding your reply). I wish I could link, but I’m developing locally so I will try to be more explicit.
I’m not trying to add pages to anything. Imagine the blog page where you have all the posts titles listed (with excerpts) in reverse chrono order, but you want one of those to always stick to the top of the list regardless of the time it was posted.
That’s essentially what I’m trying to achieve except that it’s not the blog archive but a “workshop” archive.
Ah Brad I think I understand what you meant… the “page” thing threw me. Ok I know how to register widget areas so that should be fine. I’ll set this to resolved once I get this coded and confirm that I got it working. Thanks
There has to be a way to show this since there is an option to Show an Author Bio based on category archives. Brad will know this for sure but interesting question. I wonder if any of these hooks will work?
Or maybe this plugin can do what you need?
Worked a treat thanks. Only issue now is that the posts that show up in widget are also showing up down in the list. Anyway to allow the to only show up in the widget area?
If this helps anyone else, I actually found a plugin which allows me to de *exactly* what I was after with minimal fuss: Post Types Order.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.