Your topic line says 2012 but your post says 2011 – and your site shows a blank white (crashed?) page?
Also not sure what you are trying to do.
Also, ANY modifications in a default theme must be done in a Child Theme – http://codex.wordpress.org/Child_Themes – so that would likely be the first step.
Thread Starter
emmykk
(@emmykk)
WPyogi i just edited the content of my post u can now advice me..
Your site won’t load for me – is something going on with it?
the showcase template uses the ‘posts per page’ setting under dashboard – settings – reading
you can overwrite that by adding the ‘posts_per_page’ parameter to the custom query for the recent posts in showcase.php (it is recommended to make customisations in a child theme http://codex.wordpress.org/Child_Themes )
corresponding section shown with changes implemented:
$recent_args = array(
'order' => 'DESC',
'post__not_in' => get_option( 'sticky_posts' ),
'posts_per_page' => 15,
'tax_query' => array(
array(
'taxonomy' => 'post_format',
..........
Thread Starter
emmykk
(@emmykk)
@Alchymth,you got what i mean,yes the post per page sittings.i.e dashboard>settings>reading>.,
i read that the maximum default post per page for wordpress is (15)
I actually want to increase it to 45-60 posts.
for i want post titles in the showcase template home of the wp 2011 default to be very many as seen in nairaland.com
is there a plugin for configuring childtheme or a plugin that can increase post per page, for i know nothing about codes?
And what is the code i should add to the childtheme if only child theme can achieve that?
Thanks friends.
i read that the maximum default post per page for wordpress is (15)
afaik, this is only for the ‘recent posts’ widget
a child theme is for keeping customisations when you update the theme.
if you create a child theme or not is your choice, not a technical requirement to get things to work.
I actually want to increase it to 45-60 posts
just edit showcase.php (in child theme if you decide to use one, or in the Twenty Eleven) and change the line in the previous suggested section to any number you like, for example
'posts_per_page' => 60,
@alchymyth thanks. you did justice to the question.
option 1 i can use dashboard>settings>readings> then change the field from 10 to 60 or whatever.
option2 i can go to dashboard.>appearance>editor>showcase.php>line ‘posts_per_page’ => 10, and change to 10 t0 60
option3 use childtheme then save code
$recent_args = array(
‘order’ => ‘DESC’,
‘post__not_in’ => get_option( ‘sticky_posts’ ),
‘posts_per_page’ => 15,
‘tax_query’ => array(
array(
‘taxonomy’ => ‘post_format’,
………. to it.
thanks
i know the simple 1 is option 1.thanks
but will categories also be generating 60 posts on them.
if business,news,sports are my categories will they obey the hypothetical post per page of our 60 we set?
all the same a very fat thank u .
i actually want people to stay long on my niche or news sites when they visit such many post list title of homepage,one like must interest them.that is what i want,and u clear my doubt.how was annivestry cake