As far as I understand sticky posts are used by Pinboard them just to be placed into the slider.
What I want to accomplish is real sticky posts, the way it’s meant to be, that is, always on the top of other posts on the main blog page. I also want to keep those posts on the slider. The way it is now, they are treated as normal posts: they scroll down when newer posts are written.
I read this, which is the standard way to make them sticky on other themes such as Twentytwelve. Is there a way to implement this on Pinboard? Where should I put that code?
Any suggestions? I’m in trouble, I need it!Daniel TaraKeymaster
Go to Appearance > Theme Options > General and disable the option “Display a slider of sticky posts on the front page”, then the sticky posts functionality will revert to normal.
thanks for answering. This method solves the scrolling issue with newer posts but disables the slider, which I definitely want to keep. Do you think it’s possible to have both? Maybe editing some templates…
still trying to find a solution!Daniel TaraKeymaster
In functions.php, function
pinboard_filter_query()delete these lines:
if( $query->is_home() && pinboard_get_option( 'slider' ) ) $query->set( 'ignore_sticky_posts', 1 );
Yessss!! you’re great! I owe you a beer!
Tagged: sticky posts
You must be logged in to reply to this topic.