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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-19-2006, 05:12 AM   #1
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
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!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 05:17 AM   #2
marko13
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
marko13 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 05:18 AM   #3
beta-tester
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
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 05:25 AM   #4
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
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!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 05:26 AM   #5
SlamDesigns
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.
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 05:34 AM   #6
marko13
Confirmed User
 
Join Date: Apr 2004
Location: www.lvpshosting.com
Posts: 7,512
Quote:
Originally Posted by Mutt View Post
thanks - i was lazy - found it.
no problemos...
__________________
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
marko13 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 06:14 AM   #7
jayeff
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'); } ?>
...changing "home" for whatever page(s) you want to have specific settings and the showposts parameter for whatever number you want.
jayeff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 06:16 AM   #8
SlamDesigns
Confirmed User
 
Join Date: Jul 2005
Posts: 2,339
Quote:
Originally Posted by jayeff View Post
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'); } ?>
...changing "home" for whatever page(s) you want to have specific settings and the showposts parameter for whatever number you want.
Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.
SlamDesigns is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 06:38 AM   #9
jayeff
Confirmed User
 
Join Date: May 2001
Posts: 2,944
Quote:
Originally Posted by SlamDesigns View Post
Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.
Okay, here is one possibility...

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.
jayeff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2006, 06:47 AM   #10
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by SlamDesigns View Post
Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.
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.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.