Register Advertise with usHelp Desk Today's Posts Search

Rate this Entry

Including a html page or squeeze page in wordpress

Share
Submit "Including a html page or squeeze page in wordpress" to Facebook
Posted 8th April 2013 at 12:01 PM by RobinInTexas

You can create a page template and include your html page.


Use the code below:

<?php
/*
Template Name: Html Page

^^ this is important you can name the template anything you want.
"Template Name:" must be exactly as above

You need to "Add New Page" from the wordpress dashboard.

You just need to fill in the 'Page Title' and you need to go into "Page Attributes" and select the template you named above. The Page name is important, and it will be in the URL if your permalinks include /%postname%/
I suggest you place any images in a directory off the wordpress root called "images and make sure all the image links are correct.
*/
// insert all of your html page between the next line


// and the prior line you can include any html markup or php code you like
?>



copy everything between the <?php and ?> including the <?php and ?>to the file and save it in your wp-content/themes/youractivetheme subdirectory as "pick-a-unique-name.php"

For additional information go to Pages « WordPress Codex or contact me.
Views 2248 Comments 0
Total Comments 0

Comments

 


All times are GMT -6. The time now is 02:01 AM.