• 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)
  • How do I reset the code to it’s original template code?

    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

    (@rpeloquin)

    Thank you SO much!

    You have officially saved my night and the sad new start of RebeccaPeloquin.com

    Thank you, thank you, thank you!

    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.