Title: PHP Template breaking structure
Last modified: August 19, 2016

---

# PHP Template breaking structure

 *  [Acedafunk](https://wordpress.org/support/users/acedafunk/)
 * (@acedafunk)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/php-template-breaking-structure/)
 * Hi,
    I’ve been trying to create a new page from an HTML file that works fine 
   as an html but when I put this PHP template code in the file and change it to
   a PHP file (like when creating a new page from template) it no longer works.
 *     ```
       <?php
       /*
       Template Name: _Project 2 Template
       */
       ?>
       ```
   
 * Here are links to the working html page and the non-working php page:
 * This one is just an html that I put up via ftp
    [http://fa3444.patternleaf.com/work/ajepkes/wp-content/themes/pixel/project_02_template.htm](http://fa3444.patternleaf.com/work/ajepkes/wp-content/themes/pixel/project_02_template.htm)
 * This one has the php code and I used the WP “new page” button and applied it 
   as a template.
    [http://fa3444.patternleaf.com/work/ajepkes/wp-content/themes/pixel/?page_id=27](http://fa3444.patternleaf.com/work/ajepkes/wp-content/themes/pixel/?page_id=27)
 * Can anyone see what the heck is going on here?
    Thanks, -Andy

Viewing 1 replies (of 1 total)

 *  [charlieholder](https://wordpress.org/support/users/charlieholder/)
 * (@charlieholder)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/php-template-breaking-structure/#post-1198059)
 * That’s exactly how mine start as well. Maybe it’s the underscore?

Viewing 1 replies (of 1 total)

The topic ‘PHP Template breaking structure’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [new page](https://wordpress.org/support/topic-tag/new-page/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [structure](https://wordpress.org/support/topic-tag/structure/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [charlieholder](https://wordpress.org/support/users/charlieholder/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/php-template-breaking-structure/#post-1198059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
