• Resolved galacticat

    (@galacticat)


    I’m having an issue with WordPress, granted its one that I brought on myself due to the way I want it to handle blog entries but I think someone would be able to help (I have searched around here already and wasn’t able to find a fix)..

    I have two different categories made for my blog, one titled movies and the other called blog.. I have posts in both categories being displayed on different pages (movies category gets the front page, while blog posts are on a different one) I was able to get things working correctly, but when WordPress runs of out blog entries it starts to list entries in the movies category.

    You can see what I’m talking about here,
    http://cinemashock.net/
    http://cinemashock.net/blog/

    Does anyone have any suggestions to how I can fix the blog entry paging? I have used all my PHP knowledge up just getting things to the point where they are now.

    Thanks..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter galacticat

    (@galacticat)

    In case it helps here is what I am using as my blog page template..

    <?php
    /*
    Template Name: Blog
    */
    ?>
    
    <?php get_header();?>
    
    <div id="items">
    
    	<?php
    	  $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	query_posts("cat=14&posts_per_page=12&paged=$paged");
    	 ?>
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            <div class="item">
            <div class="background"></div>
            <a href="<?php $key="videolink"; echo get_post_meta($post->ID, $key, true); ?>" rel="mediabox[<?php $key="videowidth"; echo get_post_meta($post->ID, $key, true); ?> <?php $key="videoheight"; echo get_post_meta($post->ID, $key, true); ?>]" Title="Click here to instantly play this video"><?php the_excerpt(); ?></a>
            <div class="content">
            <h2><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2>
            <p><?php the_content_rss(); ?></p>
            </div>
            <div class="comments-link">
            <p><a href="<?php the_permalink() ?>#comments" title="Comment on This Movie"><?php comments_number('0', '1', '%'); ?></a></p>
            </div>
            </div>
        <?php endwhile; else: ?>
        <?php endif; ?>
        <div id="navi"><?php next_posts_link('<span class="navforward"></span>') ?><?php previous_posts_link('<span class="navback"></span>') ?></div>
    </div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    Thread Starter galacticat

    (@galacticat)

    Giving this a bump, and willing to offer payment to anyone who can lend a hand with getting this fixed..

    Thread Starter galacticat

    (@galacticat)

    Ended up getting it fixed using the directions found on this page,

    which page?, and how did you fix it?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Issues with categories and paging’ is closed to new replies.