Show all sticky posts, WITH pagination
Based on this post, i did this test and go it working: $sticky = get_option( ‘sticky_posts’ ); $ppp = get_option(‘posts_per_page’); if (!is_paged()) { $custom_offset = 0; } else { $custom_offset = $ppp*($paged-1); } $args = array( ‘numberposts’ => $ppp, ‘offset’ => $custom_offset, ‘post__in’ => $sticky ); $posts_data = get_posts( $args ); $pd = count( $posts_data … Read more