![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2002
Posts: 34,431
|
WordPress Question
where can I set how many blog entries per page I want displayed in WP?
thanks
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2004
Location: www.lvpshosting.com
Posts: 7,512
|
options>reading> first one...
__________________
We are responsible for your hosting ... Enjoy in your life. Shared hosting from $3.95 Europe Linux VPS plans from $11.37 http://www.LVPSHosting.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Rock 'n Roll Baby!
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
|
Options>Reading>Show at most: xx posts
__________________
Sig for sale. Affordable prices. Contact me and get a great deal ;) My contact: ICQ: 944-320-46 e-mail: manca {AT} HotFreeSex4All.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2002
Posts: 34,431
|
thanks - i was lazy - found it.
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jul 2005
Posts: 2,339
|
What they said. lol. You can also set how many posts you want to display in your feed from that same page, I believe.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Apr 2004
Location: www.lvpshosting.com
Posts: 7,512
|
__________________
We are responsible for your hosting ... Enjoy in your life. Shared hosting from $3.95 Europe Linux VPS plans from $11.37 http://www.LVPSHosting.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2001
Posts: 2,944
|
And if you want to over-ride the global setting, you can also place this on the line immediately before the beginning of "The Loop":
Code:
<?php if (is_home()) { query_posts('showposts=10'); } ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jul 2005
Posts: 2,339
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: May 2001
Posts: 2,944
|
Quote:
Surfers like to quickly scan a page before choosing what to read in depth. It is therefore a good idea to make that easy for them, so rather than having full posts on main and archive pages, show them summaries. WordPress has an "excerpt" feature, but it only pulls out a certain number of words from the beginning of a post. More useful for the above-mentioned summaries is the optional "extract" box into which you can write a concise but informative summary of a post. Whichever method you choose, you could decide to show, say, 10 such summaries on your main page to make it fast loading and easy to scan, but - because by selecting a category or archive the surfer has indicated a more specific interest - allow 20 summaries to display on category and archive pages. And another... Perhaps you let full posts show on your category and archive pages, in which case you might want to have a global setting of 5 posts or less. But good usability practise suggests that your main page would be better with at most a single post and/or a longer list of summaries. Once again the over-ride is useful. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
query_posts is also useful if you want to exclude a category, or if you only want the front page to use a specific category, etc.. very useful. Was just learning this myself. I should've known to ask jayeff first.. and not have wasted so much time researching it myself.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |