Post sort order

Viewing 3 posts - 1 through 3 (of 3 total)
  • #17119
    david portishead
    Participant

    Can Pinboard sort posts by title? I’ve trised it with Display Posts Shortcode plugin which sorts on other themes but it seems that Pinboard prevents it doing this. I’m still playing with the theme to decide if it meets my needs and so have no site to show yet.

    Thanks,

    David

    #17126
    Daniel Tara
    Keymaster

    Add the following conditionals to the pinboard_filter_query() function:

    $query->set( 'orderby', 'post_title' );
    $query->set( 'order', 'ASC' );
    #17130
    david portishead
    Participant

    Many thanks for your swift response.

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

Tagged: ,

You must be logged in to reply to this topic.