WordPress.org

Support

Support » How-To and Troubleshooting » Blog posts are out of order

Blog posts are out of order

  • A few months ago, my blogs posts started appearing out of order. This is a problem as I am running a series. Now older posts and new posts are all mixed up. HELP! Susanne

Viewing 9 replies - 1 through 9 (of 9 total)
  • I just discovered all the posts have the same date: August 8th – even if posted three months ago. Now what? Susanne

    Uppps, that August 12th. See the blog here: http://www.hearinggod.mentorsnotebook.com/blog So please anyone help. I’m new to this whole blogging business. Susanne

    Can you share post listing code in blog page template here?

    You will find this page in your themes folder.

    Huuummmm – remember I am a Newbie at this. Can I do what? ….are you asking about my cpanel/admin or ???? Susanne

    No I am not asking for that.

    I am saying just go to themes folder and open page named as something like “blog.php” or “page-blog.php” in notepad and share code here.

    OK Chandanonline4u but ….themes folder on the blog? Understand the ‘copy to notepad’ part but where do I need to be to get this info you are asking for? Sorry for my ignorance. -S

    Is this what you are asking me to do?

    “MichaelH Volunteer
    Posted 2 years ago #
    Please paste all the code from the theme template (probably index.php) that is displaying those posts into a pastebin such as http://wordpress.pastebin.ca and report the link back here so someone might find your problem. Thanks.”

    Copied from another WordPress chat. Is this waht you want? -S

    Easy way to find it:

    1. Login to WordPress admin panel
    2. Go to Appearance > Editor
    3. Search “Blog template” in right sidebar and click to open it
    4. Copy code and share here.

    Here is the ‘page template’ code

    <?php get_header(); ?>
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    			<div class="page">
    				<h2 class="catheader"><?php the_title(); ?></h2> <?php edit_post_link(' Edit', '<span class="editpost">', '</span>'); ?>
    
    				<div class="page-content">
    						<?php the_content('<p class="serif">Read the rest of this page ยป</p>'); ?>
    						<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    				</div>
    
                    <?php comments_template(); ?>
    			</div>
    
    	<?php endwhile; endif; ?>
    <?php get_footer(); ?>

    Thanks for your patience, Susanne

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blog posts are out of order’ is closed to new replies.
Skip to toolbar