Jump to content
Sign in to follow this  
mcburkhead

More posts in category/archive pages

Recommended Posts

mcburkhead

I currently set the post number at 7 through Settings>Reading which is great for the look of my home page. But I want to show more posts on the video, photos, and general archives pages. Any ideas? GoNoke.org Thanks ahead of time, I'm a convert from Arras theme to Platform and couldn't be happier.

Share this post


Link to post
Share on other sites
kastelic

Set it to the maximum you will need in Settings->REading. Then you can incorporate a bit of code using the pagelines_inside_top_theloop or pagelines_before_theloop (i can't remember which, try both) hook. Your code will look like this: if (is_home()){ query_posts( 'posts_per_page=7' ); }

Share this post


Link to post
Share on other sites
mcburkhead

Resolved! Thanks for the help. I'm pretty good at CSS but Hooks are new to me. Thanks again!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×