Broken Pagination
-
I took over a website that was custom programmed and the pagination is broken on it. I think it may be the theme that is outdated but the client is asking for me to fix it and I’m not sure what to do.
Here is the PHP code of the index page:
<?php get_header(); ?> <h1 style="margin-left:20px;margin-top:5px;color:#2B4E74;"> Latest News</h1><br /> <?php $recent = new WP_Query("posts_per_page=9"); while($recent->have_posts()) : $recent->the_post();?> <div class="post"> <div class="r"> <h3><a>"><?php the_title(); ?></a></h3><p><strong style="color:#2B4E74;">Category:</strong> <?php the_category(', ') ?></p> <div class="noimage"><?php the_content(''); ?></div> <div class="details" style="float:right;"><p><a>">Read More »</a></p></div> </div> <div class="break"></div></div> <?php endwhile; ?><br /><?php next_posts_link('« Older Entries'); ?> </div> <?php get_sidebar(); get_footer(); ?>I don’t know PHP and all of the queries so if someone has insight into what needs to be adjusted to fix this I’d appreciate it.
Thanks,
Daniel Boswell
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Broken Pagination’ is closed to new replies.