-
PLSantaCroce
ParticipantAs 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?Daniel Tara
KeymasterGo 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.
PLSantaCroce
ParticipantHello Daniel,
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…
Daniel Tara
KeymasterIn functions.php, function
pinboard_filter_query()
delete these lines:if( $query->is_home() && pinboard_get_option( 'slider' ) ) $query->set( 'ignore_sticky_posts', 1 );
Tagged: sticky posts
You must be logged in to reply to this topic.