Title: Editing page.php
Last modified: August 20, 2016

---

# Editing page.php

 *  [Maracas1970](https://wordpress.org/support/users/maracas1970/)
 * (@maracas1970)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/editing-pagephp/)
 * Hello my site [http://www.gotodesigns.co.uk/](http://www.gotodesigns.co.uk/) 
   is using a child theme. I have hard coded the page.php file to include the three
   divs you`ll see upon landing. I have set the front page to static and all references
   to the loop are stripped from the page.php file.
 * What i would like to know is if this a good practice or common way to go about
   creating a unique homepage layout through a child theme?
 * I have also as i suspected made every new page i create contain the homepage 
   content, which obviously i don`t want to do. Is there a function that hides all
   references on internal page, if home display: none? Or some such. Just guessing
   obviously. I just want a fairly unique home page that has two top columns below
   a large jQuery slider. And would like the ability to feed latest posts into one
   of the columns/divs i made. I am thinking i need to create possible a new php
   file with home.php as the name maybe, and create the layout in this? and then
   other php files wont be affected, and if this is the case how do i get WordPress
   to display this page as the homepage? Am i even close to the mark here?
 * Thanks for looking
 * Maracas

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

 *  Thread Starter [Maracas1970](https://wordpress.org/support/users/maracas1970/)
 * (@maracas1970)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/editing-pagephp/#post-2518204)
 * I have added a file front-page.php, and put all my hard coding for the homepage
   in here and this appears to have cleared up the issue of the content appearing
   on all internal pages.
 * Still would like to know if this is good/common working practice?
 * Thanks
 *  Thread Starter [Maracas1970](https://wordpress.org/support/users/maracas1970/)
 * (@maracas1970)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/editing-pagephp/#post-2518256)
 * Or maybe i just keep the homepage i set up in the reading settings when i swapped
   the front page for homepage round and enter the html structure here? Because 
   when i entered the html into the frontpage.php file and loaded it, it seemed 
   to lose a lot of the styling and the html elements seemed to go skewed.
 * Thanks
 * _[[No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping). If it’s 
   that urgent, consider [hiring someone](http://jobs.wordpress.net/).]_

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

The topic ‘Editing page.php’ is closed to new replies.

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [entry](https://wordpress.org/support/topic-tag/entry/)
 * [layout](https://wordpress.org/support/topic-tag/layout/)
 * [static-page](https://wordpress.org/support/topic-tag/static-page/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Maracas1970](https://wordpress.org/support/users/maracas1970/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/editing-pagephp/#post-2518256)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
