WordPress: Giving a sticky post a specific fixed order

Is there a way to give a sticky post a specific order, rather than always displaying at the top of the list? For example, I want one sticky post to always display as the 5th post, and another to always display as the 8th.

Thanks!

Related posts

Leave a Reply

1 comment

  1. //------------ Add page ordering for posts ----------------//
    
    function dark_post_prepare( $query ) {
        $query->set( 'orderby', array('menu_order' => 'ASC', 'ID'=>'DESC') );
    }
    add_action( 'pre_get_posts', 'dark_post_prepare', 1 );
    
    //---------------- Register: Page-atributes to post (Add order of post)
    add_action( 'admin_init', 'dark_posts_order' );
    function dark_posts_order() {
        add_post_type_support( 'post', 'page-attributes' );
    }