Problems with older posts, when using this code
-
I am using this code, to have posts ir columns. With this code i can’t see pages with older posts. i can open page/2 but there is only the same posts i have in first page. do u know how to fix it, guys? :(
<?php query_posts(‘showposts=5’); ?>
<?php $posts = get_posts(‘numberposts=5&offset=0’); foreach ($posts as $post) : start_wp(); ?>
<?php static $count1 = 0; if ($count1 == “5”) { break; } else { ?><?php the_title(); ?>
<?php the_content(); ?><?php $count1++; } ?>
<?php endforeach; ?>The blog I need help with is: (visible only to logged in users)
-
Since we can’t us PHP here at wordpress.com, that site is self-hosted and you need to head over to the WordPress.org forums as that is where self-hosted wordpress blogs using the software from wordpress.ORG are supported.
These forums are for those hosted here on the wordpress.COM free hosting service and things here work differently.
If you are not familiar with the differences, see this support document.
-
- The topic ‘Problems with older posts, when using this code’ is closed to new replies.