If you have used a custom query ( for example with query_posts()) before standard WordPress flow, you might reset the internal query to avoid strange result in sidebar or other sides:
1 2 3 4 5 6 |
// reset all your custom query wp_reset_query(); // now they waorks get_sidebar(); get_footer(); |