We have has several requests to re-create our popular Multiple Template tutorial, as there was a change in the page structure when Artisteer released version 2.4 we have created this tutorial with version 2.4.
You will learn better if you follow along with your own theme, with Artisteer Version 2.4 follow these guidelines, create yourself a theme, set the Sheet > Width to 1000px, then Layout > Columns > Three Columns at the bottom of the drop down panel you will see “Width Options” set ‘Column 1 Width:’ to 20% and ‘Column 2 Width’ to 20%, export your theme.
You can see the live theme we created below with the Templates Page here:
Create a Theme
Your layout might look something like this one we created just using the “suggest options” for each element, it is worth spending time getting used to the Artisteer product rather than rushing in and creating themes, once you know your way around the product it becomes much more usable, many changes that are requested can be done within the Artisteer interface.
Stylesheet
With version 2.4 Artisteer have done a lot of the work for us, open style.css and locate this block of code.
We do not need to change anything here.
/* begin LayoutCell, content */
.art-content-layout .art-content
{
width: 60%;
}
.art-content-layout .art-content .art-block
{
background-color: #ABCBE3;
}
.art-content-layout .art-content-sidebar1
{
width: 80%;
}
.art-content-layout .art-content-sidebar2
{
width: 80%;
}
.art-content-layout .art-content-wide
{
width: 100%;
}
/* end LayoutCell, content */
As you can see Artisteer have added extra styles in this version so we now have 4 that we can use for our new ‘Page Templates’.
.art-content-layout .art-content (two sidebars)
.art-content-layout .art-content-sidebar1
.art-content-layout .art-content-sidebar2
.art-content-layout .art-content-wide (no sidebars)
Sample Page
First lets create a sample page we can use to make our templates, open the file in your theme folder called page.php
The first few lines will look like these:
<?php get_header(); ?> <div class="art-content-layout"> <div class="art-content-layout-row"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-layout-cell art-content">
We will add in code for our template name and sidebars, we will have to at the top and two at the bottom of the file and will delete them as we need later.
At the top of the file add the template code and sidebar2.php line.
Insert lines numbered 01 through to 05 and line number 11
<?php /* Template Name: Sample */ ?> <?php get_header(); ?> <div class="art-content-layout"> <div class="art-content-layout-row"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> <div class="art-layout-cell art-content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Add the extra line for sidebar1.php at the bottom of the file as well:
Insert Line number 3:
</div> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> </div> </div> <div class="cleared"></div> <?php get_footer(); ?>
Save the file as sample.php
Templates
- Open sample.php
- Change ‘Template Name: Sample’ to Template name: Wide Page
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Change <div class=”art-layout-cell art-content”> to <div class=”art-layout-cell art-content-wide”>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Save file as page-wide.php
- Close file page-wide.php
- Open sample.php
- Change ‘Template Name: Sample’ to Template name: One Left Page
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Change <div class=”art-layout-cell art-content”> to <div class=”art-layout-cell art-content-sidebar1″>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Save file as page-one-left.php
- Close file page-one-left.php
- Open sample.php
- Change ‘Template Name: Sample’ to Template name: Two Left Page
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Save file as page-two-left.php
- Close file page-two-left.php
- Open sample.php
- Change ‘Template Name: Sample’ to Template name: One Right Page
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Change <div class=”art-layout-cell art-content”> to <div class=”art-layout-cell art-content-sidebar2″>
- Delete second <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Save file as page-one-right.php
- Close file page-one-right.php
- Open sample.php
- Change ‘Template Name: Sample’ to Template name: Two Right Page
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
- Delete first <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?>
- Save file as page-two-right.php
- Close file page-two-right.php
Upload the new pages to your WordPress install, de-activate the theme and reactivate the theme so you can see the template pages, apply the Templates as required.
Notice
Code disclaimer information
This document contains programming examples therefore, www.DigitalRaindrops.net grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.
All sample code is provided by www.DigitalRaindrops.net for learning illustrative purposes only.
These examples have not been thoroughly tested under all conditions. www.DigitalRaindrops.net, therefore, cannot guarantee or imply reliability, serviceability, or function of these examples.
All programs contained herein are provided to you “AS IS” without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.
Membership
We hope you will benefit from our tutorials Membership to this website is not required, however the downloading of any themes or files is restricted to site supporters.
You can register for a 10 year ‘Free Account’ from the members page which will give you access to the source files and free themes, as we introduce premium themes and content these will only be downloadable with a subscription, any revenue from subscriptions is used to support the site costs.
this website is a tool to support and promote WordPress and Artisteer, please support, share and give credit for any benefits you gain from the tutorials on this website.






Can I get you to glance at my site real quick? I did something I thought would work BEFORE (live and learn huh?) reading anything about creating template pages with Artisteer. I exported 2 templates that were exactly the same from Artisteer except one had no sidebar.
I uploaded the theme with the sidebar to use. I took the page.php file from the theme with NO sidebar and titled it No Sidebar as a template. So all my pages have this template.
HOWEVER, when I click on the page containing my posts, and then click on an actual post, I get an error.
The site is located at pjsartisangallery.com – if you click on the Event Planner tab you'll see where my posts are listed. It then goes nuts when you click on the post title.
I tried also to fix everything by following these instructions you offer but I must have gone too far in messing things up for this to help. If I use the template I made using these instructions then it looks the same way the individual post looks.
Have you revamped this tutorial for the new version 2.5?
Hi Ken,
not as yet, looking at the forums this release looks to be a bit unstable and liable to change.
I will revisit the tutorials in September.
David
Hello, thank you for the tutorial, any idea on how to chance the category theme? I just would like the content background color to change on each category, so for instance, category 1 has a blue background, category two has a black background, etc. (Not the whole background) Just the content areas.!!
Thanks!
Will this be any different for Artisteer 3.0 and WP 3.2?