StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-26-2010, 05:56 PM
Patrice Patrice is offline
Registered User
 
Join Date: Jul 2009
Posts: 46
Default Previous/Next Page Link Not Working

I noticed that my previous/next page link is not working for my blog. Even though the URL in the address bar shows the change in page number, the posts do not change.

http://leadthewayout.com/blog/


Here's my blog.php file
Code:
<?php
/*
Template Name: Blog 
*/
?>

<?php get_header(); ?>

<div id="content">

    <div id="contentleft">
    
        <div class="postarea">
    
            <div class="breadcrumb">
                <?php if (class_exists('breadcrumb_navigation_xt')) {
                echo 'Browse > ';
                // New breadcrumb object
                $mybreadcrumb = new breadcrumb_navigation_xt;
                // Options for breadcrumb_navigation_xt
                $mybreadcrumb->opt['title_blog'] = 'Home';
                $mybreadcrumb->opt['separator'] = ' / ';
                $mybreadcrumb->opt['singleblogpost_category_display'] = true;
                // Display the breadcrumb
                $mybreadcrumb->display();
                } ?>    
            </div>
            
        <!--The blog page template is currently set to show 5 posts.  Change showposts=5 to whatever number of posts you want to display.-->
            
 

<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=13,14,15&showposts=5"); while ( have_posts() ) : the_post() ?>

            <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

            <div class="date">
                                
                <p>Posted by <?php the_author_nickname(); ?> &middot; <?php the_time('F j, Y'); ?></p>
            </div>


<?php the_content('[READ MORE]');?><div style="clear:both;"></div>
        
            <div class="postmeta2">
                                    
                <p>Filed Under <?php the_category(', ') ?> &middot; <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?> &nbsp;<!--<?php edit_post_link('(Edit)', '', ''); ?>--></p>
            </div>
            
            <?php endwhile; ?>
        
            <p><?php posts_nav_link(); ?></p>    
                        
        </div>
        
    </div>
<?php include(TEMPLATEPATH."/sidebar_blog.php");?>            
</div>



<!-- The main column ends  -->

<?php get_footer(); ?>
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
next/previous link on top orb42 General Discussion 1 01-07-2011 04:44 PM
next & previous page link missing Marvick General Discussion 2 12-12-2009 04:48 AM
Next Previous page link topblog General Discussion 2 10-07-2009 05:02 AM
Previous/Next Post Links Not Working aop1980 General Discussion 13 07-09-2009 01:08 AM


All times are GMT -5. The time now is 01:48 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.