• I am running a blog with the envision theme and once my page has its 5 post limit (which is the number I want), I am not seeing a link that says anything like “see earlier/newer posts” like I do on other blogs. Can someone please help?

    my blog is

    http://www.MandoLessons.com/blog

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Does your themes index.php file contain this template tag?

    http://codex.wordpress.org/Template_Tags/previous_post_link

    Thread Starter mandobaron

    (@mandobaron)

    It looks like it does not. I tried to plug it in a couple times and couldn’t get it to come out right. any chance you could help? here is the code for my index.php

    <?php get_header(); ?>
    	<?php include(TEMPLATEPATH."/sidebar.php");?>
    			<div id="main">
    
    				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    				<a name="TemplateInfo"></a>
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    				<?php the_content(__('Read more'));?>
    				<!--
    				<?php trackback_rdf(); ?>
    				-->
    				<p class="post-footer align-right">
    					<a href="<?php the_permalink() ?>" rel="bookmark" class="readmore">Read more</a>
    					<a href="<?php the_permalink() ?>" class="comments"><?php comments_number('No Comments', 'Comments (1)', 'Comments (%)' );?></a>
    					<span class="date"><?php the_time('M j, Y'); ?></span><br />
    					<b>Category:</b> <?php the_category(', ') ?>
    					<?php if ((function_exists('get_the_tags')) ) { the_tags(); } ?>
    				</p>
    				<?php endwhile; else: ?>
    				<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    				<?php endif; ?>
    				<?php comments_template(); // Get wp-comments.php template ?>
    			</div>
    <?php get_footer(); ?>

    Thanks so much
    Baron

    Thread Starter mandobaron

    (@mandobaron)

    Hmm, also the individual posts pages don’t have the next/orevious post either. where would i plug them in?

    thanks,
    Baron

    Try replacing this:

    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    With this:

    <?php endwhile; ?>
                <div class="navigation">
                    <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
                    <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
                </div>
            <?php else : ?>
                <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
            <?php endif; ?>
    Thread Starter mandobaron

    (@mandobaron)

    im not too worried about the individual posts thing though, readers can deal, haha.

    baron

    Thread Starter mandobaron

    (@mandobaron)

    getting there, take a look. for me, i can only see older entries, not newer entries.

    thanks so much
    baron

    Thread Starter mandobaron

    (@mandobaron)

    oh wait, its perfect. i need to actually have newer posts to see the link of course. thanks so much. couldnt have done it without you

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

The topic ‘no “see earlier posts” link’ is closed to new replies.