Archived

This topic is now archived and is closed to further replies.

  • 0

Posts on a Static Non-Posts Page

Question

Posted · Report post

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

2 answers to this question

Posted · Report post

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