WordPress.org

Ready to get started?Download WordPress

Forums

Blog page doesn't show newest 3 posts (8 posts)

  1. jhamilton
    Member
    Posted 3 years ago #

    Unfortunately I cannot give you a link to see the page since it's locally hosted and private at the moment for our company until it goes into production so I will explain it as best as I can.

    Our word press site is using wp 3.01 + thesis 1.8 and locally hosted on a win server 2003 x32 box. The blog page where it shows all blog posts is displaying all except the newest 3. We have a widget in the sidebar that displays recent posts and it shows all of them correctly. We also tried changing to other themes in which the problem still persists.

    None of the built in settings affect it through the GUI so I started hopping through the php but couldn't find anything. I was thinking the generated page was getting off on a loop by -3 or something.

    Any help and suggestions would be greatly appreciated.

  2. dogbot
    Member
    Posted 3 years ago #

    Hey I am a newbie to WP. but off the bat I'd say take a look at the widget. It may help to know the name of the widget. is the widget displaying 3 posts by chance?

  3. jhamilton
    Member
    Posted 3 years ago #

    thanks for the reply

    the actual widget we have calling the posts does fine, it shows all the newest posts, but the auto generated blog page that word press has isn't showing all of them. I tried tracing the code to see how it outputs but I think it comes down to something like a database misconfiguration possibly since all the posts are stored in the database.

  4. chinmoy29
    Member
    Posted 3 years ago #

    use now query_posts() function

    <?php query_posts('showposts=3'); ?>

    http://codex.wordpress.org/Function_Reference/query_posts

  5. dogbot
    Member
    Posted 3 years ago #

    noo..I dont think is a database thing..I've been down that road, it's some little code setting. How about you deactivate the widget and see what happens?

  6. jhamilton
    Member
    Posted 3 years ago #

    yeah deactivating doesn't work. We've tried the whole deactivate plug ins individually.

    I'll try the query_posts(), thanks chinmoy

    If all else fails I can rebuild a page and just write it from scratch it's just nice to have some gui options for formatting posts.

  7. dogbot
    Member
    Posted 3 years ago #

    hi...you never said what was the name of the widget.

  8. jhamilton
    Member
    Posted 3 years ago #

    the widgets called wp_recent_posts but its not the widget messing up from what I said in the post 2 up. sorry for the confusion :)

    We have a static forced homepage which we redirected all of wordpress' integrated recent posts to another page. It's the page we called 'news' that's messing up displaying the latest 3 posts. it shows all the others but just not the newest 3.

Topic Closed

This topic has been closed to new replies.

About this Topic