Title: lolattack's Replies | WordPress.org

---

# lolattack

  [  ](https://wordpress.org/support/users/lolattack/)

 *   [Profile](https://wordpress.org/support/users/lolattack/)
 *   [Topics Started](https://wordpress.org/support/users/lolattack/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lolattack/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lolattack/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lolattack/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lolattack/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lolattack/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Deleted my .HTACCESS file now my permalinks don’t work](https://wordpress.org/support/topic/deleted-my-htaccess-file-now-my-permalinks-dont-work/)
 *  Thread Starter [lolattack](https://wordpress.org/support/users/lolattack/)
 * (@lolattack)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/deleted-my-htaccess-file-now-my-permalinks-dont-work/#post-700285)
 * Worked like a charm. Thank you, Sarah.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Deleted my .HTACCESS file now my permalinks don’t work](https://wordpress.org/support/topic/deleted-my-htaccess-file-now-my-permalinks-dont-work/)
 *  Thread Starter [lolattack](https://wordpress.org/support/users/lolattack/)
 * (@lolattack)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/deleted-my-htaccess-file-now-my-permalinks-dont-work/#post-700265)
 * Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sidebar messed up in IE on main page, but fine on my custom template page](https://wordpress.org/support/topic/sidebar-messed-up-in-ie-on-main-page-but-fine-on-my-custom-template-page/)
 *  Thread Starter [lolattack](https://wordpress.org/support/users/lolattack/)
 * (@lolattack)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/sidebar-messed-up-in-ie-on-main-page-but-fine-on-my-custom-template-page/#post-696909)
 * Perfect. I figured out it was a blockquote tag I was using.
 * What are the html errors that you are referring to besides that one?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Want to use the same template as WordPress except different content](https://wordpress.org/support/topic/want-to-use-the-same-template-as-wordpress-except-different-content/)
 *  Thread Starter [lolattack](https://wordpress.org/support/users/lolattack/)
 * (@lolattack)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/want-to-use-the-same-template-as-wordpress-except-different-content/#post-696354)
 * It’s not really helping me. I don’t know what I’m doing wrong, but I used the
   following code and named it “contact.php” and uploaded it in the same folder 
   as my current theme is using.
 *     ```
       <?php
       /*
       Template Name: Contact
       */
       ?>
   
       <?php get_header(); ?>
   
       	<div id="wrapper">
   
       		<div id="header">
       			<a href="<?php bloginfo('siteurl'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/lolattack.gif" alt="<?php bloginfo('name'); ?>" class="logo" /></a>
       		</div>
   
       		<?php include (TEMPLATEPATH . '/navigation.php'); ?>
   
       		<div id="main_container">
   
       			<div id="content">
   
       	<div id="log">
       	<div id="log_res">
       		<!-- spanner -->
       	</div>
       	</div>
       <form id="myForm" action="send.php" method="get" name="myForm">
       	<div id="form_box">
       		<div id="comment_form">
       			<p>
   
       				First Name:
       			</p><input type="text" name="first_name" id="comment_form" value="" />
       		</div>
       		<div id="comment_form">
       			<p>
       				Last Name:
       			</p><input type="text" name="last_name" id="comment_form" value="" />
       		</div>
       		<div id="comment_form">
       			<p>
   
       				E-Mail:
       			</p><input type="text" name="e_mail" id="comment_form" value="" />
       		</div>
       		<div id="comment_form">
       			<p>
       				Regarding:
       			</p><select name="regarding" id="comment_form" class="comment_form"><option value="-" >Please Choose</option><option value="Advertising" >Advertising</option><option value="Press" >Press</option><option value="Speaking Proposal" >Speaking Proposal</option><option value="General" >General</option></select>
   
       		</div>
       		<div id="comment_form">
       			<p>
       				Message:
       			</p><textarea id="comment_form" name="message" cols="40" rows="5" /></textarea>
       		</div>
       		<!-- spanner -->
       		<div id="comment_form">
       		<p><input name="submit" type="submit" id="submit" value="Send Message" /></p></div>
   
       	</form>
   
       			</div>
   
       			<?php get_sidebar(); ?>
   
       		</div>
   
       	</div>
   
       <?php get_footer(); ?>
       ```
   
 * And I get the following error:
 * `Fatal error: Call to undefined function get_header() in /home/fourstar/public_html/
   wp-content/themes/lolattack_theme/contact.php on line 7`
 * As you can see on line 7, is: <?php get_header(); ?>.
 * Don’t know why it’s doing this.
 * for reference the page url is [http://www.lolattack.com/wp-content/themes/lolattack_theme/contact.php](http://www.lolattack.com/wp-content/themes/lolattack_theme/contact.php)

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