December 9, 2013 at 7:02 pm #77930
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.
Using framework.December 9, 2013 at 7:18 pm #77932
braddaltonParticipantPost count: 10243
You can’t make pages assigned to a CPT sticky however you can add a widget area before posts and add your pages there using the genesis featured posts amplified plugins widget.
December 9, 2013 at 7:52 pm #77937
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.December 9, 2013 at 8:04 pm #77941
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. ThanksDecember 9, 2013 at 8:13 pm #77942
MealtogParticipantPost count: 440
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?December 9, 2013 at 9:19 pm #77953
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?December 9, 2013 at 10:00 pm #77958
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.