Sticky post from only current category
-
Hi,
I’m making a category template…and I’m trying to figure out how to pull a sticky post only if that post is in the current category. So basically:
If ‘post’ is in ‘category-x’ & marked as sticky, display it.
I was trying something with
‘post__in’ => get_option(‘sticky_posts’),
…but whenever i have two categories with stickies, it jumbles them up. Suggestions?
Thanks!
Nadine.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Sticky post from only current category’ is closed to new replies.