Enable Sticky Posts

Posted in: Newspaper
Post count: 36

Hi,

I would like to use the sticky posts option to put some articles on top of blocks. I have used your solution mentionned here : https://forum.tagdiv.com/topic/sticky-posts/
But, unfortunatly it doesn’t work in my case.
I use :
– the block 2 to display only one category
– a small slider to the same category and featured posts
– unique articles : activated

With the previous solution, the sticky post works only when I choose the option “- All categories -” for the block 2, not when I specify a category.

Any hack to activate the sticky post with a category?
I hope 🙂

Post count: 854

hi,

when you create a post make it sticky:
1) http://screencast.com/t/ZE87hwrE
2) http://screencast.com/t/eIYKfj4Q9

Thanks for you message.
Radu A.

Post count: 36

Hi,

Thank you but I know how to make a sticky post…
The sticky post doesn’t works in MY CASE

Thank you to first read my message!

Post count: 3343

Hi,
Add this code:

$wp_query_args = array(
   'ignore_sticky_posts' => 0
);

here: http://screencast.com/t/hcg5b4MZcsiv

Post count: 36

Thank you for you response.

Unfortunatly it’s not really what I expected.
In my case:
– Slider “Cat1” + “Featured”
– Block “Cat1”
– Posts repeted: no
Your solution puts the post “sticky” in the Slider, even if it is not in “Featured”

I would like to have only the sticky option effective in the block.

Post count: 3343

Hi,
Sorry but i can’t find a working solution. Also please do not use the above solution, i see that brake the block functionality when you use sorting category.

The sticky post works fine in loop but not in blocks.

Post count: 36

Okay, thank you anyway for watching.

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.