WordPress Boldy Theme – Full Width Template

1. Under wp-content/themes/boldy, you should find a number of .php files, many of which are your page/post templates. Copy page.php and rename it as fullwidthpage.php

2. Edit the file in a plain text editor and change all of the text to look like this:



/*
Template Name: Full-Width
*/
?>




3. Save the file

4. Now when you login into your WordPress site and access the Editor, you should see this new template listed as Full-Width Page Template. If you don’t see this, you’ve done something incorrectly.

5. If step 4 works, you now need to edit Header.php file as well as Style.css

6. In Header.php, find this section and add in the text highlighted in yellow:


echo ‘id=”home”‘;
}elseif(is_category(get_option(‘boldy_portfolio’)) || post_is_in_descendant_category( get_option(‘boldy_portfolio’)) && !is_single()){
echo ‘id=”portfolio”‘;
}elseif(is_page_template(‘fullwidthpage.php’)){
echo ‘id=”fullwidth”‘;
}?>>

7. In Style.css, find this section and add in the text highlighted in yellow:

body#home #content, body#portfolio #content, body#fullwidth #content {
background:none;

8. Now when you create a new page, just select Full-Width as the template and your page will appear without the sidebar and without the sidebar divider line.

.