Page templates
Is it possible to create a page template?
For example, I have the same design or style on most of the pages and instead of copying-n-pasting the same code for these pages, it would be nice if I could select a template. This is the coding I'm copying-n-pasting into each page that I want to have this particular style: Code:
<table style="padding: 0 0px 0 0px; margin: 0px 0 0px 0;" width="100%" border="0" cellspacing="0" cellpadding="0"> |
Sure you can create page templates, there are several in the gold forum tutorials section you can look at.
Use index.php as your base. |
Will there be a menu when you're creating a new Page so an admin can choose which template to use?
|
Once you create the template, you put it in the theme folder and a template box will show up in the page editor. From there you can pick the template you want to use.
This is all controlled by WordPress. |
All times are GMT -6. The time now is 12:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.