WordPress.org

Forums

navigation help (3 posts)

  1. jeremi_liwanag
    Member
    Posted 4 years ago #

    hello,

    i want my blog to have that navigation below for older post. what is the code for that? i want it to look like this.

    << 1 2 3 4 >>

  2. esmi
    Forum Moderator
    Posted 4 years ago #

  3. jeremi_liwanag
    Member
    Posted 4 years ago #

    Ive already tried that.. it doesn't seem to work with my theme.
    is there a way i can just manually code the pagination??

    <?php get_header(); ?>
    <div id="featured"><?php slidedeck( 171 ); ?></div>
    <div id="content">
    
    	<?php query_posts("posts_per_page=5"); ?>
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    
    			<h2 class="post-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    
    			<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
    
    			<div class="entry">
    				<?php the_excerpt(); ?>
                    <div id="read"><a href="<?php the_permalink() ?>"> <img src="<?php bloginfo('template_directory'); ?>/images/read-more.jpg" /> </a></div>
    
    			</div>
    		</div>
    	<?php endwhile; ?>
    	<?php else : ?>
    
    		<h2>Not Found</h2>
    
    	<?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.