<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Adding more subsidiary areas</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 02:38:24 +0000</pubDate>

<item>
<title>rscamero92 on "Adding more subsidiary areas"</title>
<link>http://themeshaper.com/forums/topic/adding-more-subsidiary-areas#post-15812</link>
<pubDate>Fri, 24 Sep 2010 19:49:20 +0000</pubDate>
<dc:creator>rscamero92</dc:creator>
<guid isPermaLink="false">15812@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;What do I need to do to make the 5th and 6th show up?
&#60;/p&#62;</description>
</item>
<item>
<title>rscamero92 on "Adding more subsidiary areas"</title>
<link>http://themeshaper.com/forums/topic/adding-more-subsidiary-areas#post-15811</link>
<pubDate>Fri, 24 Sep 2010 19:47:46 +0000</pubDate>
<dc:creator>rscamero92</dc:creator>
<guid isPermaLink="false">15811@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've been tinkering around and I followed this post....&#60;br /&#62;
&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/how-can-i-add-multiple-subsidiaries#post-15033&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/how-can-i-add-multiple-subsidiaries#post-15033&#60;/a&#62;&#60;br /&#62;
&#60;br /&#62;
and was able to ad a 4th, 5th and 6th sub area. The 4th one is showing up and I'm able to style the CSS for it, But the 5th and sixth is not. Here is my code from my functions.php..&#60;/p&#62;
&#60;p&#62;//&#60;br /&#62;
// register the 4th widget area...&#60;br /&#62;
function add_fourth_subsidiary(){&#60;br /&#62;
    register_sidebar(array(&#60;br /&#62;
       	'name' =&#38;gt; '4th Subsidiary Aside',&#60;br /&#62;
       	'id' =&#38;gt; '4th-subsidiary-aside',&#60;br /&#62;
       	'before_widget' =&#38;gt; '&#38;lt;li id=&#34;%1$s&#34; class=&#34;widgetcontainer %2$s&#34;&#38;gt;',&#60;br /&#62;
       	'after_widget' =&#38;gt; &#34;&#34;,&#60;br /&#62;
	'before_title' =&#38;gt; thematic_before_title(),&#60;br /&#62;
	'after_title' =&#38;gt; thematic_after_title(),&#60;br /&#62;
    ));&#60;br /&#62;
}&#60;br /&#62;
add_action('init','add_fourth_subsidiary');&#60;/p&#62;
&#60;p&#62;// output the sidebar after the third subsidiary area&#60;br /&#62;
function output_fourth_subsidiary(){&#60;br /&#62;
	if ( is_sidebar_active('4th-subsidiary-aside') ) { // there are active widgets for this aside&#60;br /&#62;
        echo '&#38;lt;div id=&#34;fourth&#34; class=&#34;aside sub-aside&#34;&#38;gt;'. &#34;\n&#34; . '&#38;lt;ul class=&#34;xoxo&#34;&#38;gt;' . &#34;\n&#34;;&#60;br /&#62;
        dynamic_sidebar('4th-subsidiary-aside');&#60;br /&#62;
        echo '' . &#34;\n&#34; . '&#38;lt;/div&#38;gt;&#38;lt;!-- #fourth .aside --&#38;gt;'. &#34;\n&#34;;&#60;br /&#62;
	do_action('widget_area_4th_subsidiary_aside');&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_after_third_sub', 'output_fourth_subsidiary');&#60;br /&#62;
//&#60;br /&#62;
//&#60;br /&#62;
// register the 5th widget area...&#60;br /&#62;
function add_fifth_subsidiary(){&#60;br /&#62;
    register_sidebar(array(&#60;br /&#62;
       	'name' =&#38;gt; '5th Subsidiary Aside',&#60;br /&#62;
       	'id' =&#38;gt; '5th-subsidiary-aside',&#60;br /&#62;
       	'before_widget' =&#38;gt; '&#38;lt;li id=&#34;%1$s&#34; class=&#34;widgetcontainer %2$s&#34;&#38;gt;',&#60;br /&#62;
       	'after_widget' =&#38;gt; &#34;&#34;,&#60;br /&#62;
	'before_title' =&#38;gt; thematic_before_title(),&#60;br /&#62;
	'after_title' =&#38;gt; thematic_after_title(),&#60;br /&#62;
    ));&#60;br /&#62;
}&#60;br /&#62;
add_action('init','add_fifth_subsidiary');&#60;/p&#62;
&#60;p&#62;// output the sidebar after the fourth subsidiary area&#60;br /&#62;
function output_fifth_subsidiary(){&#60;br /&#62;
	if ( is_sidebar_active('5th-subsidiary-aside') ) { // there are active widgets for this aside&#60;br /&#62;
        echo '&#38;lt;div id=&#34;fifth&#34; class=&#34;aside sub-aside&#34;&#38;gt;'. &#34;\n&#34; . '&#38;lt;ul class=&#34;xoxo&#34;&#38;gt;' . &#34;\n&#34;;&#60;br /&#62;
        dynamic_sidebar('5th-subsidiary-aside');&#60;br /&#62;
        echo '' . &#34;\n&#34; . '&#38;lt;/div&#38;gt;&#38;lt;!-- #fifth .aside --&#38;gt;'. &#34;\n&#34;;&#60;br /&#62;
	do_action('widget_area_5th_subsidiary_aside');&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_after_fourth_sub', 'output_fifth_subsidiary');&#60;br /&#62;
//&#60;br /&#62;
//&#60;br /&#62;
// register the 6th widget area...&#60;br /&#62;
function add_sixth_subsidiary(){&#60;br /&#62;
    register_sidebar(array(&#60;br /&#62;
       	'name' =&#38;gt; '6th Subsidiary Aside',&#60;br /&#62;
       	'id' =&#38;gt; '6th-subsidiary-aside',&#60;br /&#62;
       	'before_widget' =&#38;gt; '&#38;lt;li id=&#34;%1$s&#34; class=&#34;widgetcontainer %2$s&#34;&#38;gt;',&#60;br /&#62;
       	'after_widget' =&#38;gt; &#34;&#34;,&#60;br /&#62;
	'before_title' =&#38;gt; thematic_before_title(),&#60;br /&#62;
	'after_title' =&#38;gt; thematic_after_title(),&#60;br /&#62;
    ));&#60;br /&#62;
}&#60;br /&#62;
add_action('init','add_sixth_subsidiary');&#60;br /&#62;
//&#60;br /&#62;
// output the sidebar after the fifth subsidiary area&#60;br /&#62;
function output_sixth_subsidiary(){&#60;br /&#62;
	if ( is_sidebar_active('6th-subsidiary-aside') ) { // there are active widgets for this aside&#60;br /&#62;
        echo '&#38;lt;div id=&#34;sixth&#34; class=&#34;aside sub-aside&#34;&#38;gt;'. &#34;\n&#34; . '&#38;lt;ul class=&#34;xoxo&#34;&#38;gt;' . &#34;\n&#34;;&#60;br /&#62;
        dynamic_sidebar('6th-subsidiary-aside');&#60;br /&#62;
        echo '' . &#34;\n&#34; . '&#38;lt;/div&#38;gt;&#38;lt;!-- #sixth .aside --&#38;gt;'. &#34;\n&#34;;&#60;br /&#62;
	do_action('widget_area_6th_subsidiary_aside');&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_after_fifth_sub', 'output_sixth_subsidiary');&#60;/p&#62;
&#60;p&#62;and my CSS codes...&#60;/p&#62;
&#60;p&#62;#subsidiary {&#60;br /&#62;
	width:990px;&#60;br /&#62;
	margin:0 auto;&#60;br /&#62;
	overflow:visible;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary .aside {&#60;br /&#62;
	width:300px;&#60;br /&#62;
	float:left;&#60;br /&#62;
	margin:5px;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #first {&#60;br /&#62;
	background-color: #CCC;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #second {&#60;br /&#62;
	background-color: #999;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #third {&#60;br /&#62;
	background-color: #666;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #fourth {&#60;br /&#62;
	background-color: #999;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #fifth {&#60;br /&#62;
	background-color: #666;&#60;br /&#62;
}&#60;br /&#62;
#subsidiary #sixth {&#60;br /&#62;
	background-color: #333;&#60;br /&#62;
}&#60;/p&#62;</description>
</item>

</channel>
</rss>
