I have PHP code working but still have problems
-
Hi, I have a problem with listing all posts in a category in a category page. I’ve been using this code to list them…
<?php echo ''; foreach( $posts as $post ) { echo '><a href="' . get_permalink($post->ID) . '">' . $post->post_title . '</a><br />';}?>But for some reason it doesn’t list all of the posts, it cuts off after the 10th post… Anyone know why??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘I have PHP code working but still have problems’ is closed to new replies.