Pretty much as described I am after this same feature. What I want to do is something similar to what “simplyworks” suggests above. But I don’t know how to implement the Do your loop for posts...
as he suggests. I just want to use the standard loop that exists, I don’t even want/need to change any styling, I just want the stickies to the top of the category…
PLUS… I do want to remove the stickies from the front page. I just don’t want them there–I realise that’s where they are intended, but, like the OP, I only want them appearing at the top of the relevant category.
- So, I’m thinking I need the category.php file
- I want to loop thru and get the stickies first
- I then want to go thru again and get the non-stickies
So far, it’s just how simply works describes. But for the loop part, what do I put there? Is that the get_template_part(“loop”,”category”); or something similar? Or do I have to create something unique here?
Also, how to hide all stickies from the front page? I’m thinking one of two scenarios:
- either change the front page to omit this–I don’t know how
- not use the “sticky” option in the first place and create a category called “sticky” <– I’m liking this option more
With the second option above, I would modify the original query (somehow) so that the first call calls posts that are a member of the original calling category PLUS the sticky category… Then the second call would be to posts that are of the original calling category THAT ARE NOT in the sticky category.
I just don’t know how to implement it.
I’m not really asking for someone to do it for me, I just don’t know 1) how to construct the loop (if that’s what I need to do) and 2) how to construct that query.
I have searched (that is how I found this topic) and this has been the clearest (by simplyworks) solution so far. I just need it expanded ‘slightly’ ??
Any help appreciated, thanks