Sticky posts don't stick!

Viewing 8 posts - 1 through 8 (of 8 total)
  • #12790
    PLSantaCroce
    Participant

    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?

    #12857
    PLSantaCroce
    Participant

    Any suggestions? I’m in trouble, I need it!

    #12980
    Daniel Tara
    Keymaster

    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.

    #13014
    PLSantaCroce
    Participant

    Hello 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…

    #13015
    PLSantaCroce
    Participant

    .

    #13137
    PLSantaCroce
    Participant

    still trying to find a solution!

    #13146
    Daniel Tara
    Keymaster

    In functions.php, function pinboard_filter_query() delete these lines:

    if( $query->is_home() && pinboard_get_option( 'slider' ) )
    	$query->set( 'ignore_sticky_posts', 1 );
    #13163
    PLSantaCroce
    Participant

    Yessss!! you’re great! I owe you a beer!
    Issue SOLVED.

Viewing 8 posts - 1 through 8 (of 8 total)

Tagged: 

You must be logged in to reply to this topic.