Free tech support / small logo


How do I display latest postings in WordPress?

I have a wordpress site. My challenge? I wish to have my home page display only my latest 5 entries, yet want to have categories for my blog (when clicked upon) display all of the previous posts for that category, not just 5. I am not a programmer so I don't know or understand much about coding. However, I have been told that this is not possible. Is that really the case? Is the program as inflexible as this? Or is it just a matter of taking time to program in a different number of posts for the homepage versus the other page displays.


Dave's Answer:

I know of no-one more expert on WordPress than my good friend Sherman Hu of WordPress Tutorials.com, so I asked him for his assistance on this question. Here's his answer:

Great question. In short, this can be done.

To display the latest 5 entries, simple go to your "Options" tab, "Reading" sub-tab. You'll arrive at your 'Reading Options' page.

Under the heading 'Blog Pages', you'll see the field to modify to reveal the number of
past entries in a view.

The default setting is 10. Change this number to 5. Then click the "Update Options" button.

On your home page, it should now reveal only your past 5 entries. Refresh your home page to reveal the latest changes.

On your category page, it may reveal 5 entries, but your reader can click on the hyperlink below the bottom entry to read more of the category's entries.

Here's an illustration:

WordPress Configuration [Sherman Hu]

Hope this helps!









Subscribe!
Never miss another Q&A article! Click to subscribe: Add to Google Reader Add to My Yahoo! Subscribe in NewsGator RDF XML
Comments

I want to display 5 in my home and 7 in my category pages.
Please help me to fix this.

Posted by: kulandai at March 25, 2009 7:14 AM

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Recent Entries


Search
I Need Help!
Need Help? Ask Dave Taylor!


© 2002 - 2012 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.