Title: Diference between page.php and single.php
Last modified: August 18, 2016

---

# Diference between page.php and single.php

 *  Resolved [theros](https://wordpress.org/support/users/theros/)
 * (@theros)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/diference-between-pagephp-and-singlephp/)
 * Hi all, so I’m creating a new site with wordpress and I’ve run into a slight 
   problem. There was some CSS code that I had to use for only the single post pages
   so I put that into the single.php page. However, now when I try to link to my
   other pages, like the About or archives page it uses the single.php file and 
   so returns nothing… What can I use to make the Pages render using a different
   template?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [ninjaboy](https://wordpress.org/support/users/ninjaboy/)
 * (@ninjaboy)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/diference-between-pagephp-and-singlephp/#post-463628)
 * I had trouble with this when I first started with WP, but it’s so easy once you
   understand the basic template selection hierarchy, which should get you started.
 * [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 * You can also create page templates, it’s really very simple and useful.
 * [http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates](http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates)
 * And finally once you have got all that working, you can start doing some really
   clever stuff with conditional tags
 * [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 *  Thread Starter [theros](https://wordpress.org/support/users/theros/)
 * (@theros)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/diference-between-pagephp-and-singlephp/#post-463646)
 * THANK YOU! I finally understand it now once you pointed out all the connections.
 *  [ninjaboy](https://wordpress.org/support/users/ninjaboy/)
 * (@ninjaboy)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/diference-between-pagephp-and-singlephp/#post-463653)
 * No worries – t had me chasing my tail around for a while, but once you get a 
   handle on it it’s quite simple!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Diference between page.php and single.php’ is closed to new replies.

## Tags

 * [archives](https://wordpress.org/support/topic-tag/archives/)
 * [page.php](https://wordpress.org/support/topic-tag/page-php/)
 * [single](https://wordpress.org/support/topic-tag/single/)
 * [single.php](https://wordpress.org/support/topic-tag/single-php/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ninjaboy](https://wordpress.org/support/users/ninjaboy/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/diference-between-pagephp-and-singlephp/#post-463653)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
