Older Posts Not Loading. URGENT
-
I run the blog for my company Competition Accessories. Our Blog is Blog.compacc.com. I run the Greyzed theme, but heavily modified. I tweaked every page to show excerpts using the code:
<div class="entry"> <?php the_excerpt() ?> </div>
I also added a query code to the templates i made to only show posts from certain categories so he homepage was only newsy related and informative and the motogp, motocross, supercross, etc were in their respective tabs only.
the code i used for the query is:<div class="column"> <?php $postcount = "0"; query_posts('category_name=News');// reset post counter ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php $postcount++; // post counter ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
After I made them query only certain categories the Older Posts button failed to work. when i click it it just shows those same 5. that isn’t just on the main page that is every page i used query on.
Any suggestions. If this has already been posted please link back to it, because i searched for this topic and i may have overlooked it.————–
EDIT:
I’ll just post the page script so you can tell me if there is anything that needs to be added or changed…Thank you all in advance[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘Older Posts Not Loading. URGENT’ is closed to new replies.