You can do that with this plugin.
http://mattread.com/projects/wp-plugins/custom-query-string-plugin/
Basically, it lets you customize the query that determines how many posts will show on the home page. You can set it to 1.
Thread Starter
gs06
(@gs06)
the plug-in doesn’t a read-me file
for novices as myself
can you refer me to where i can find further instructions?
Thank you !
Thread Starter
gs06
(@gs06)
just wanted to clarify,
i am looking for ANY plug-in
which, allows me to control the number of posts in my
blog opening page
any suggestions ?
You don’t need a plugin to do that. Open your main page (index.php) and find the following line:
while (have_posts()) : the_post();
and change it to:
query_posts('showposts=x');
while (have_posts()) : the_post();
where x is the number of posts you want to show. For example, to show 2 posts, you would change it to:
query_posts('showposts=2');
while (have_posts()) : the_post();
“You can do that with this plugin.”
It’s not there. All I see is some discussions about it, that’s all.
Thread Starter
gs06
(@gs06)
Thanks samsarin for the code.
but i do not have
query_posts(‘showposts=2’);
I do have
<?php if ($posts) {foreach($posts as $post) { start_wp(); ?>
how do i cnage the number of posts ?
Thank you
~ Grace
If you have the plugin installed (the easiest way to do this), just click Options and then CQS to get to the config page for it. See where it says Add a New Condition? Beside Query select is_home, then move to the right and enter the number for posts you want to show (1 in this case). Then move to the right, and hit the Add button. That’s all you need do. I recommend you get your hands dirty with the plugin. Anything you do can be deleted easily.
Thread Starter
gs06
(@gs06)
Any idea what plug-in they are talking about ?