WordPress.org

Ready to get started?Download WordPress

Forums

Blog page is showing same post Next/Previous Help (3 posts)

  1. blodigeln
    Member
    Posted 1 year ago #

    I dont know what i done wrong. I use the Cudazi Mono theme.
    If you press next or previuos it show the same posts.
    I have search and found some solution but none works for me.
    and top of that i got problems with archive and tags to :(

    here is the code for my home.php

    <?php
    /**
    * The main template file.
    */
    query_posts(array('showposts' =>1));
    
    get_header(); ?>
        <div class="grid_8" id="primary">
    	 	<?php 
    
    query_posts(array('showposts' =>3));
    
    	 		// Run the loop to output the posts.
    			get_template_part( 'loop', 'index' );
    		?>
        </div><!--//grid_X-->
    
    	<div class="grid_4" id="aside">
    		<?php get_sidebar(); ?>
    	</div><!--//grid_X-->
    
    <?php get_footer(); ?>

    [please remember to mark any posted code - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

  2. blodigeln
    Member
    Posted 1 year ago #

    forgot to link to the site. its my friend site helping to set up.
    --> http://tydatecken.com

  3. alchymyth
    Forum Moderator
    Posted 1 year ago #

    what is the purpose of the query_post() codes?

Topic Closed

This topic has been closed to new replies.

About this Topic