Not a lot to go on for a suggestion. What version of WordPress are you using? How many post do you have set to display under Options > Reading?
Thread Starter
johnf
(@johnf)
I am using version 1.5.
I have set it to display 1 post in Options > Reading.
Thread Starter
johnf
(@johnf)
Ok. I have uploaded and activated the “Custom Posts Per Page” plugin. How do I implement it into my blog? What code do I add to the template?
If you have Options/Reading set at “1”, that’s all you’re going to get. Try setting it to 10 or something.
Thread Starter
johnf
(@johnf)
If I do that, then more than one post will show on the main page. Also, I set it to 25 and it only displayed a max of 5 posts.
Posts Per Page has a number of variables (near the top of the plugin file) you can edit/change this. What each sets the number of posts for is pretty clear:
$posts_per[‘home’]
$posts_per[‘day’]
$posts_per[‘month’]
$posts_per[‘search’]
$posts_per[‘year’]
$posts_per[‘author’]
$posts_per[‘category’]
Thread Starter
johnf
(@johnf)
Ok. So what exactly do I need to do? Where do I put these variables? In the “Page” template or the “Main” template? What to I set them to?
Sorry if I sound dumb but I do not typically use plugins. WP 1.2 has worked well for me in the past but I have had trouble splitting my index.php file up when updating to 1.5.
Thanks for all of your help!!
(near the top of the plugin file) you can edit/change this.
You need to edit the plugin file and change the values of those variables within it, so open it in a text editor, or use the plugin editor in WordPress (under Plugins). For example, if home is to display 5 posts, change the numeric value of $posts_per[‘home’]:
$posts_per[‘home’] = 5;
Thread Starter
johnf
(@johnf)
:} I feel as if I should have known that. Again, thank you!!!
I’m stamping this on my forehead:
“There’s no such thing as ‘intuitive.'”
-Kaf Oseo, 1995