This procedure will let you create custom full width post pages and you can select which template each post need to use as you are posting it. To achieve this, you need install a plugin called Custom Post Template and follow the directions below. This post is using Custom Full Width Template.
You will need to create a file in your themes folder which for the examples sake we will name fullwidth-posts.php. You can copy your normal single.php code and make some changes
Top part of single.php there is few lines and twenty ten theme has this
<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
Change “The Template for displaying all single posts.” To
Template Name Posts: Full Width Posts no sidebar
This is the name of the template.
Add fullwidth class to
<div id=”container” class=”fullwidth”>
Since this template is full width you will need to take the side bar code out scroll down
and delete
Once you made this three changes save the file.
In twenty ten theme there is no css code for full width template so you need to add full width class to #content in style.css
.fullwidth #content {
margin: 0 auto;
width: 900px;
Save the file.
Once you are done creating the custom template for full width posts, Considering you already have your plugin activated when you go in your WordPress admin panel to write a new post, you will see a drop down box that gives you an option to select which template you want for that specific post.
Discover how you can blog like othe successfull bloggers with simple step by step Techniques.