• RF

    (@riaz-farooq)


    Hi there,

    I have several categories set up in the dashboard with 10 or so posts. I have then assigned these posts to the categories I want, however, when I select a category on my site, it just displays the posts in the order they were posted, instead.

    For a while I assumed this might have something to do with wp-paginate, as I’m having problems with this also… but, maybe not, as when this is deactivated I still have the same issue.

    This is killing me, please, I need someone smarter than I ??

Viewing 4 replies - 31 through 34 (of 34 total)
  • Thread Starter RF

    (@riaz-farooq)

    Would either of you gentlemen please also help me with my pagination?

    You might try this in the mean time..

    <?php
     global $query_string; query_posts($query_string.'&posts_per_page=6&paged' => ( get_query_var('paged') ? get_query_var('paged') : 1 ), ));?>

    This is what follows immediately after in my template, if that helps.

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <h4 class="posttitle"><a>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'cc' ) ?> 
    
    <?php the_title_attribute(); ?>"> <?php the_title(); ?> </a></h4>
    <?php the_excerpt();?>
    <?php endwhile; ?>
    <div class="nav-previous">
    
    <?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', '' ) ); ?></div>
    		<div class="nav-next"><?php	 previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', '' ) ); ?></div>
    
    <?php endif; ?>
    <?php wp_reset_query();?>

    I just want to say a huge thank you to the 3 here for resolving the Categories problem. I purchased this theme only yesterday, put up 7 posts and was pulling my hair out (whatever I have left) to figure this out. I got no replies from the authors like Riaz mentioned. Right now, I don’t know where the Pagination problem is, but rest assured I’ll be back when that part comes to my attention.

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘>Categories Don't Wan't to Categorize My Posts!!!’ is closed to new replies.