WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New or latest post, disappear, not showing in loop, archive, category page (7 posts)

  1. lionking06
    Member
    Posted 5 years ago #

    Hello

    ok here is my 1st post ever on this Forum
    I have been on wordpress website /blog development since feb 2006
    and the journey has been amazing, learnt a lot, and loved that wordpress has been improving ever since with super speed

    i have solved many glitches myself, and i do have many solutions myself to share :) (i have been lazy)

    here i am stuck on 2.6 issues.

    Problem
    I have upgraded from 2.3.3 version to 2.6
    I had disappearing categories, I solved that
    The problem is, whenever I post a new post in any category, I dont see the new post, I only see the 2nd last post which was added.
    Means, every category only shows the next to latest post, and not the last post added. So if there is a category with single post, it shows "not found". If there are 2 posts it will show 1 post.

    What I have already tried:
    I have done - DB backup
    I have cleaned DB overhead
    I have manually edited DB for issues (blank fields)
    I have activated the re-vision plugin
    I have disabled plugins, upgraded plugins to latest
    I have changed a lot of coding in archive.php (i have tried pasting the "default" theme code in archive.php to see if it works.

    Please let me know what info you need for me to correct this funny error.

  2. lionking06
    Member
    Posted 5 years ago #

    I have also tried /upgrade.php

  3. lionking06
    Member
    Posted 5 years ago #

    I upgraded to 2.6.1
    But no change

    I found a new twist to this
    When I am logged in on the same browser, that i see the blog, I do see these missing posts.

    These post are public/open to all. but I only see them as logged in

  4. lionking06
    Member
    Posted 5 years ago #

    This is solved - error was in Endwhile loop, since I had 2 the_Loop on the same page, one for main content and another for sidebar

  5. chadfu
    Member
    Posted 5 years ago #

    I am having this exact same issue. Safari and FF are showing new posts but IE is not. Is there anyway that you can elaborate on your fix for this issue?

    You said and endwhile loop? Any extra information?

  6. urwen
    Member
    Posted 5 years ago #

    did you solved the problem? Im having the same situation: http://wordpress.org/support/topic/204034?replies=1

  7. mwolstat
    Member
    Posted 5 years ago #

    I was having the same problem, and I fixed it like this.

    In my archive.php file, I found an extraneous call to the_post() function, which was essentially 'using up' the first post on any page.
    --
    the_post();

    while (have_posts()) : the_post();
    include (TEMPLATEPATH . '/post.php');
    endwhile;
    --

    Once I deleted the solo the_post() call, all 10 posts would get formatted with the post.php template.

Topic Closed

This topic has been closed to new replies.

About this Topic