Why: sticky front page code, shows latest non-sticky on logged-in front page
If you want both logged in and non-logged in user to see the same thing then you only want ‘published’ post status, at least it doesn’t make sense to me to show ‘private’ posts to non-logged in users. Alter you query to include that condition. $most_recent_sticky_post = new WP_Query( array( ‘post_status’ => array( ‘publish’ ), … Read more