Official Advertising Sponsors

Sunday, February 8, 2009

WordPress › Support » Have a page template that includes posts?

WordPress › Support » Have a page template that includes posts?:

Is it possible to have a page template that can also fetch posts? I know that's not the clearest explanation. What I want to have is a page template that will display the page's title and content, but can also then fetch posts in a specified way (in my case it's fetching a specific category of posts)and display them underneath. Is this possible?



You can make a page template that works just like the main index page and then add a query for that particular category so only those posts show.
For example, if you make a new template using the code from you main index template you can add something like the following



insert it right before the following loop starts

3 comments:

Free Movies said...

watch and download free movies

download free movies

SEO said...

I guess keyword-stuffing, hidden links and invisible text were my major sins of the past. Now, inadvertently, hidden text with CSS trick.

best seo said...

This is not good for SEO because your post titles which is contain keywords appear after blog name.
So how to change only YourBlogPost shown on the title bar on the browser's windows and improve your SEO ?