Title: Custom code on page.php
Last modified: August 19, 2016

---

# Custom code on page.php

 *  [jdest326](https://wordpress.org/support/users/jdest326/)
 * (@jdest326)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/custom-code-on-pagephp/)
 * Ok, I have my wordpress set-up so the a static page is brought up when you access
   my domain. Not the usual index.php, instead it is using one page from the page.
   php template.
 * I need to add some custom html,css & php code to the homepage and not any other
   of the page.php files. How can I add code that only shows up on one page.php 
   not the others?

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

 *  Thread Starter [jdest326](https://wordpress.org/support/users/jdest326/)
 * (@jdest326)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/custom-code-on-pagephp/#post-1283549)
 * Any ideas?
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/custom-code-on-pagephp/#post-1283552)
 * you make a template, then set the page to use that specific template
 * [http://codex.wordpress.org/Pages#Page_Templates](http://codex.wordpress.org/Pages#Page_Templates)
 * each page you make can use its own template if you want…..

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

The topic ‘Custom code on page.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/custom-code-on-pagephp/#post-1283552)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
