Sidebar problem: get_posts function not working properly! Please help..
-
Ok..
I have this in my sidebar, and this have been working fine for over one year and many versions of WP.<ul> <?php $myposts = get_posts('numberposts=20&offset=5'); foreach($myposts as $post) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> </ul><br />
I think the problem started when we changed to the year 2008.
Now it’s totally wrong, and don’t show the just archived post with an offset of 5. The post shown there are really old…
look here: https://www.sinna.no
Thanks for all help ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sidebar problem: get_posts function not working properly! Please help..’ is closed to new replies.