Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Page templates


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 20, 2012, 08:40 AM
cway
 
154 posts · Jul 2009
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">
<tbody>
<tr>
<td class="framecolor" style="padding-top: 10px;" valign="top">
<div id="subpageContainer">
<div id="subtop">
<div id="subLeft">
<h1 style="text-align: center;"><span style="color: #fff0f5;"><strong>ENTER PAGE NAME HERE</strong></span></h1>
</div>
[include-page id="51"]

</div>
<div id="pagecontent">

ENTER CONTENT HERE

</div>
</div></td>
</tr>
</tbody>
</table>
  #2  
Old Jan 20, 2012, 10:52 AM
juggledad's Avatar
juggledad
 
22,097 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Jan 20, 2012, 04:58 PM
cway
 
154 posts · Jul 2009
Will there be a menu when you're creating a new Page so an admin can choose which template to use?
  #4  
Old Jan 20, 2012, 06:21 PM
juggledad's Avatar
juggledad
 
22,097 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Last edited by lmilesw; Jan 20, 2012 at 08:11 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
page templates ... ? lauras2010 Sidebars & Widgets 1 Sep 10, 2010 12:44 PM
Page Layout and templates hotknife Post-Kicker, -Byline & -Footer 6 Apr 17, 2009 03:04 AM
alternate page templates willowtree Atahualpa 3 Wordpress theme 3 Apr 13, 2009 02:12 PM
Different Page templates paulae Atahualpa 3 Wordpress theme 2 Mar 10, 2009 04:08 PM


All times are GMT -6. The time now is 12:42 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.