my name is ryan coughlin

some people teach, others cook, I create a web presence with a lasting impression.

Display wordpress posts on a page

Written on Monday, September 14th, 2009 at 5:34 pm and is filed under Blog.

I have been searching for various articles and help to use WordPress to display a page full of your blog posts. I finally found out a source and it is going to be creating a custom page template in WordPress. If you want to read more on creating custom page templates, be sure to check it out.

The basic concept, will go as follows:

  • Create a new file and give it a name such as “allposts.php”
  • Paste the code below in the “allposts.php”
  • Upload the file to your theme directory
  • Create a new page in WordPress
  • To the right where you see Page Template, select the one you just created
  • Save and view the page. You should now be viewing your posts

Code that goes in to the “allposts.php” is below, this is an example from my site. The XHTML can be customized to the theme of your website.
The top section of code is where the name of the page template is defined. This will display on the page editor under the Page Template drop down.



Post by: on with comment(s). located in .

This is a standard way to display your WordPress blog posts on a page using custom page templates, you can alter your query by editing this line:


To read more on the WordPress query_posts(), check out the reading.

Spread the ♥

  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Mixx
  • Google Bookmarks
  • email
  • Reddit
  • Design Float
  • StumbleUpon
  • Technorati

other related posts...

  1. WordPress Login Page Blank
  2. Busy…Busy
  3. Create a jQuery Accordion – remain open after page load
  4. NextGEN Gallery not loading CSS/Javascript
  5. Time for another iGoogle theme?

Take a peak at some more?

Leave a Reply





Cranking out Commerce Generation Blogs

The past week I have been on several blog layouts for the Commerce Generation. We are currently working on launching the new website (which is much needed). Along with the...

Ryan Coughlin on January 27
zero comment(s). located in Commerce Generation, Recent Work.

And another went live – PetFoodDirect.com

Since I started working at Commerce Generation last fall, we have been working on a very large project for Pet Food Direct.We launched the site...

Ryan Coughlin on January 27
zero comment(s). located in Recent Work.

Lets get back at it!

I have found some free time this weekend to sit down and clean up the blog as well as write up some new posts to keep it going! I have...

Ryan Coughlin on January 21
zero comment(s). located in Ranting.

Internet Explorer 6 Still the Popular Browser?

A friend who started Cat on The Couch Productions, tweeted me an article titled "Browser Version Market Share" and I found this extremely interesting,...

Ryan Coughlin on November 5
one comment(s). located in Browsers.

Google Insights – An Aid to a Successful Blog Post

Last spring I came across Google Insights while I was working at EpikOne as a Web/Graphic Designer for the Spring semester. I used this for...

Ryan Coughlin on November 3
zero comment(s). located in Internet Marketing, SEO.

Launched Cat On The Couch Productions Site

Finally..after months and months and still work to do. I was able to launch the Cat on the Couch Productions website. Which has a much cleaner appearance with...

Ryan Coughlin on October 21
zero comment(s). located in Blog.

Reload CSS without a page refresh

As I was working this afternoon, Rogie King posted a tweet about a Bookmarklet that allows you to reload your CSS on your page without reloading the page. So...

Ryan Coughlin on October 7
zero comment(s). located in CSS.

Minor changes – Syntax Plugin

I am switching my syntax highlighting from WP-Syntax to Google Syntax Highlighter. It is installed and working, but for some reason it is parsing my PHP, which is not allowing...

Ryan Coughlin on October 7
zero comment(s). located in Blog.

NextGEN Gallery not loading CSS/Javascript

Is your NextGEN Gallery showing images? But not loading the CSS and Javascript? Find the solution below. I have been working on this project where the client wanted to be able...

Ryan Coughlin on October 1
2 comment(s). located in WordPress.

TIP: Use trackpad to control Expose in Mac OS X

Another Sunday night is here, which means 8AM classes to start the week. After Football all day, I started working on some design projects, and I stumbled upon this small...

Ryan Coughlin on September 20
zero comment(s). located in Blog.

WordPress Login Page Blank

Trying to login to your WordPress blog and after submit you get a blank login page? Also trying to access the wp-admin area with a blank screen and no errors? This...

Ryan Coughlin on September 16
one comment(s). located in WordPress.

Display wordpress posts on a page

I have been searching for various articles and help to use WordPress to display a page full of your blog posts. I finally found out a source and it is...

Ryan Coughlin on September 14
zero comment(s). located in Blog.

Another jQuery UI Slider Example

First post in a very long time. Finally the summer is over and I am back at school for my last year. Now finally I have a lot of free...

Ryan Coughlin on September 12
zero comment(s). located in jQuery.

Around in Europe

Wanted to write a quick post while overseas. Just wanted to say that sorry for the delay in posts recently. I have been away in Europe the past couple of...

Ryan Coughlin on May 30
zero comment(s). located in Blog, Ranting.

Installing Ruby on Rails Plugins via MediaTemple

Good Morning and Happy Mothers Day! I have been running Ruby on Rails on my Mac, playing around with applications, getting familiar with the framework. I recently started a Ruby on...

Ryan Coughlin on May 10
zero comment(s). located in Ruby on Rails.

How to load data using JSON/PHP using jQuery

I have seen a good amount of people wanting to see learn how to load data on their website using jQuery, JSON, and PHP. I thought I would show a...

Ryan Coughlin on May 6
5 comment(s). located in jQuery.

Time for another iGoogle theme?

So i came across my old iGoogle theme I made in the fall and was thinking of making another one. Shockingly, they're extremely easy to create. Its a...

Ryan Coughlin on May 5
zero comment(s). located in Blog, Ranting.

How to use jQuery to Serialize Ajax Forms

When I first started working with jQuery and submitting forms via Ajax, I've never really used .serialize() and wasn't too familiar with it. I started to look in to how...

Ryan Coughlin on May 4
2 comment(s). located in jQuery.

Working with the jQuery live function

The other day, I wasn't really too acquainted with the .live() jQuery function. I did some research and it finally clicked for me. I put together a quick...

Ryan Coughlin on May 4

Active Record Already Activated

After spending hours and hours staring at line after line of SSH into my MediaTemple Ruby On Rails Container, I finally found a solution for this stubborn error that kept...

Ryan Coughlin on May 4
zero comment(s). located in Ruby on Rails.

New Layout and Trip

Its been a very long time! I have been extremely busy with the end of the school year with finals as well as client work up to my eye balls....

Ryan Coughlin on May 4
zero comment(s). located in Blog, Ranting.

5 Services For Short, Tiny, Small, and Compact URL’s

Everyone is using Twitter as a means to promote their blog posts or articles. Since Twiter only limits each tweet to 140 characters, which...

Ryan Coughlin on April 3
one comment(s). located in Blog, Others.

Create a jQuery Accordion – remain open after page load

I am currently working on this site for a client: http://www.hornedpout.com/ - a very basic portfolio website for a designer/writer. I didn't want to use the bulky code of the...

Ryan Coughlin on March 30
zero comment(s). located in Blog, jQuery.

jQuery Timeout Function

jQuery does offer callbacks for most of its functions, but what if you want to delay/timeout a certain effect or function. Well with this article, this should help you achieve...

Ryan Coughlin on January 22
5 comment(s). located in jQuery.

Quick And Clean Bold Text

There are tons and tons of text effect tutorials out there, but sometimes the simplest ones make the best presentation. I opened up Photoshop earlier and played around with some...

Ryan Coughlin on December 24
4 comment(s). located in Blog, Photoshop.

jQuery Search And Highlight

I was sitting in class and wanted to come up with some simple way to add a inline same page ajax search on a website. I came across the jQuery...

Ryan Coughlin on December 20
6 comment(s). located in jQuery.

Dunks or Starbucks – Who Comes Out On Top

This one thing that seems to a rather large debate, which is better?
  • Dunkin Donuts
  • Starbucks
[poll id="1"] Everyone has their own opinion on why they like one or the other, so I thought...

Ryan Coughlin on December 19
one comment(s). located in Blog.

Busy…Busy

Hey everyone! I have been extremely busy with the past couple of weeks due to the end of the semester coming and trying to get my finals and projects out...

Ryan Coughlin on December 14
zero comment(s). located in Blog, Ranting.

Combining Selectables And Draggables Using jQuery UI

There are two powerful and fun elements that the jQuery UI provides. When both of them work together you will be able to come up with some creative web application...

Ryan Coughlin on November 23
15 comment(s). located in Blog, jQuery.

Another Day…Another Post

Kind of a late start here today. I have been reading this book online lately called Learning Rails that covers version 2.0 unlike most of the books that are...

Ryan Coughlin on November 17
zero comment(s). located in Blog, Ranting.

Two Panel Slick Drop Down Using jQuery

UPDATE: I have updated the code and the post here, I have optimized and narrowed down the number of lines, the new demo is up and running.
I use...

Ryan Coughlin on November 16
16 comment(s). located in jQuery.

Create A Nautical Buoy

I have been seeing the circular buoys on various stock photo sites while I was trying to get some ideas on what to design, I finally tried making a stab...

Ryan Coughlin on November 16
2 comment(s). located in Illustrator.

Understanding Browser specific CSS Opacity Properties

There are various CSS opacity properties out there that allow us to adjust the transparency of an element on our websites, but the thing is amongst the various available properties,...

Ryan Coughlin on November 13
one comment(s). located in CSS.

9 Personal Web Design Inspiration

There has been many websites that i have come across that have inspired me in some way, whether the person behind the design, the articles, design, or the creative edge...

Ryan Coughlin on November 9
4 comment(s). located in Blog, Inspiration.

Using images With Hidden Text For SEO

Many of us, love to come up with images for our websites with a neat font that we want to use, but when we create an image with information on...

Ryan Coughlin on November 9
one comment(s). located in SEO.

Write Your Own?

I was thinking about this last night and thought I would try it out. If anyone is interested in writing an aritcle or tutorial here at ryancoughlin.com get a hold...

Ryan Coughlin on November 8
zero comment(s). located in Blog, Ranting.

Using the jQuery UI Slider

Since I started working with jQuery and the UI. I have always wanted to work with the UI Slider. I always tried playing with it but I never got...

Ryan Coughlin on November 4
8 comment(s). located in jQuery.

Validating with Rails

Ruby on Rails is one of the more popular MVC frameworks out there along with .NET, Zend, and CakePHP. Every day more and more resources are being published regarding Ruby...

Ryan Coughlin on November 4
one comment(s). located in Ruby on Rails.

Use jQuery To Submit Form To PHP/MySQL

Using jQuery to submit a form, is something you are seeing more and more of as jQuery's popularity builds. When I first started reading about jQuery and Ajax all I...

Ryan Coughlin on November 4
102 comment(s). located in jQuery.

Create A Simple Vector Tree

In this tutorial I will show you how to make a simple vector tree in Adobe Illustrator. Mainly using shapes and the pathfinder with some gradients, and wa la!...

Ryan Coughlin on November 3
15 comment(s). located in Illustrator.

Cracking down with Ruby on Rails

So over the weekend I finally sat back down and got started with Ruby on Rails. I played with it a bit last winter, but it never caught on. Now...

Ryan Coughlin on November 3
zero comment(s). located in Ranting.

Quick SEO tips

SEO (Search Engine Optimization) is a very important aspect of any website.  You want the website to become visible to search engines for consumers to find and utilize your website....

Ryan Coughlin on October 29
one comment(s). located in SEO.

Coroflot and New Design

Just added some more work to my Coroflot.com portfolio and you can find it here. This site is awesome for organizing and displaying your design work...

Ryan Coughlin on October 28
zero comment(s). located in Ranting.

a little about me

I am 21 year old web/graphic designer and developer attending Champlain College in Burlington, VT in the Web Design/Development major. I love to design and develop projects for clients and their company as well as fun side projects implementing new technologies.

I specialize in XHTML, CSS, PHP, Javascript. If you want to chat follow me on twitter or send me some mail.

subscribe

Make sure you subscribe to stay in touch with the latest articles and tutorials. Click on one of the images below:

Give me the RSS url.

Add this to delicious

flickr