Jump to content
Sign in to follow this  
nrbeatty

Posts on a Static Non-Posts Page

Recommended Posts

nrbeatty    0
nrbeatty

I have my posts/blog going to a "News" page, and my homepage is a static page. How can I get the last few posts to display on my static homepage, while the full postsPage is somewhere else. I know there are plugins out there, but I'd like the posts to look exactly like they do on the Posts page. To summarize, I'd like: the latest few posts (or even a category called Home) on the static homepage, while the full blog is sitting on the News page.

Share this post


Link to post
Share on other sites
nrbeatty    0
nrbeatty

thanks bryan! * library/_posts.php

if (is_front_page()) {
		query_posts('showposts=4')

* css/custom.css - hide the pagination links on the front page.

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  

×