I have a custom query using
get_posts() that besides ignoring sticky on its main query, ignores sticky posts on main loop. Reading around I've found that
get_posts() have some trouble with sticky but couldn't found a solution to my needs.
The sticky post is shown normally but not at the top, which is unexpected.
How can I get it working properly?
args I'm using:
'numberposts' => 5, 'category_name' => '', 'post_status' => 'publish', 'post_type' => 'post', 'meta_key' => '', 'orderby' => '', 'order' => ''