Title: Need Page.php code help
Last modified: August 19, 2016

---

# Need Page.php code help

 *  [RPeloquin](https://wordpress.org/support/users/rpeloquin/)
 * (@rpeloquin)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/need-pagephp-code-help/)
 * Hello:::
 * I was trying to do a test modifying the code of my Twenty ten theme page.php 
   code in the Theme editor section and have clearly ruined something. How do I 
   reset the code to it’s original template code? Could someone simply copy and 
   paste it here so I can copy and paste it back in?
 * I was trying to remove the page titles from the posts themselves (ie. So the 
   Photography page would not say “photography”once inside the page) I no longer
   care about that but just need the site to function. The error message that comes
   up when you click a page is :
 * Parse error: syntax error, unexpected ‘)’ in /home/rebecc12/public_html/wp-content/
   themes/twentyten/page.php on line 24
 * Sorry for the long winded post, very concerned and frustrated.
 * Thanks!
    RP

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/need-pagephp-code-help/#post-1670115)
 * > How do I reset the code to it’s original template code?
 * [http://wordpress.org/extend/themes/twentyten](http://wordpress.org/extend/themes/twentyten)
 * download a fresh copy (into a different folder) and copy the code from there.
 * when you have it up and running again, edit page.php, and remove exactly all 
   this:
 *     ```
       <?php if ( is_front_page() ) { ?>
       						<h2 class="entry-title"><?php the_title(); ?></h2>
       					<?php } else { ?>
       						<h1 class="entry-title"><?php the_title(); ?></h1>
       					<?php } ?>
       ```
   
 *  Thread Starter [RPeloquin](https://wordpress.org/support/users/rpeloquin/)
 * (@rpeloquin)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/need-pagephp-code-help/#post-1670117)
 * Thank you SO much!
 * You have officially saved my night and the sad new start of RebeccaPeloquin.com
 * Thank you, thank you, thank you!
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/need-pagephp-code-help/#post-1670119)
 * you are welcome.
 * you have a typo in your last reply: it should read:
 * > the brilliant new start
 * have a nice day!

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

The topic ‘Need Page.php code help’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/need-pagephp-code-help/#post-1670119)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
