I have read every piece of documentation I can find on creating templates, but I am very obviously missing something.
I am using the default template for WordPress. I installed the e-Commerce plug-in. It works wonderfully. But I don’t want my shop pages to look the same as my blog pages. I decided to create a new page template to use for the e-Commerce pages.
I did what I *think* I’ve been reading is needed – created a very simple page in html, then added the php code to the top of it and saved it as a php file and used ftp to get it up to the wp-content>>themes>>default directory. The name of the page template file is pennylanebath.php
Here is the exact source code for the page:
Template Name: PennyLaneBath
<html xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr” lang=”en-US”>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Penny Lane Bath Products</title>
<table border=”1″ cellpadding=”0″ cellspacing=”0″ style=”border-collapse: collapse; border-width: 1″ bordercolor=”#F2F2F2″ width=”760″ id=”AutoNumber6″ height=”1399″>
<td width=”760″ style=”border-style: none; border-width: medium” height=”419″ bgcolor=”#F2F2F2″ bordercolor=”#F2F2F2″ valign=”top”><img src=”http://backtobasicliving.com/blog/wp-content/themes/default/images/pennylanebanner.jpg” width=”760″ height=”100″ />
I selected the pennylanebath template as my page template for the “products page” that comes with e-commerce. The problem is that even though the page I created is showing up – the page is blank, and NONE of the e-Commerce stuff displays. http://backtobasicliving.com/blog/penny-lane-bath-products/?preview=true If I switch it back to the “default template” the e-commerce content displays just fine – but that’s not the template I want to use.
Will someone please tell me what I’m doing wrong?
Thanks in advance,
- The topic ‘Template page help please – I’m sure there is a simple answer’ is closed to new replies.