My blog (link in sig) I currently have 8 posts on the homepage, and am wondering how I change it so that it only displays the last 5 perhaps? Ive tried all the settings in Wordpress so now im assuming its a code issue Anyone have any ideas?
Hi, Its in settings YOUR DOMAIN NAME /wp-admin/options-reading.php Blog pages show at most Hope that helps
Wordpress Dashboard > Settings > Reading Or as Joe said, go directly to peterfoti(.)com/wp-admin/options-reading.php
Goto Dashboard > Settings Tab > Click Reading There default value is 10 change it to any value that you want
Or open the page in question, if it's your homepage then add: query_posts($query_string.'&posts_per_page=-1'); before the line: while(have_posts()) { the_post(); and change 1 to however many posts!
RIght my 5 most recent. But when I put that piece of code in that you gave to me, on my blog it simply darkens the post square and puts a "Featured" banner on the 5 most recent, but the other 6 or so are still there.