<?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: How to register a new sidebar in a child theme?</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 26 May 2013 00:06:57 +0000</pubDate>

<item>
<title>EricH on "How to register a new sidebar in a child theme?"</title>
<link>http://themeshaper.com/forums/topic/how-to-register-a-new-sidebar-in-a-child-theme#post-4707</link>
<pubDate>Wed, 24 Jun 2009 02:17:23 +0000</pubDate>
<dc:creator>EricH</dc:creator>
<guid isPermaLink="false">4707@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This should help.&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/forums/topic/widgets-in-the-header&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/widgets-in-the-header&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>tza79 on "How to register a new sidebar in a child theme?"</title>
<link>http://themeshaper.com/forums/topic/how-to-register-a-new-sidebar-in-a-child-theme#post-4700</link>
<pubDate>Tue, 23 Jun 2009 17:49:25 +0000</pubDate>
<dc:creator>tza79</dc:creator>
<guid isPermaLink="false">4700@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I tried to add a function in the child theme's functions.php that would register a new sidebar and it shows up in the Widget section in the backend, but I can't call it in the theme.&#60;/p&#62;
&#60;p&#62;Here is the code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function child_widgets_init() {
	// Area 6
	register_sidebar(array(
	   	&#38;#39;name&#38;#39; =&#38;gt; &#38;#39;Homepage Top&#38;#39;,
	   	&#38;#39;id&#38;#39; =&#38;gt; &#38;#39;homepage-top&#38;#39;,
	   	&#38;#39;before_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;li id=&#38;quot;%1$s&#38;quot; class=&#38;quot;widgetcontainer %2$s&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;widgetcont&#38;quot;&#38;gt;&#38;#39;,
	   	&#38;#39;after_widget&#38;#39; =&#38;gt; &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;/li&#38;gt;&#38;quot;,
		&#38;#39;before_title&#38;#39; =&#38;gt; &#38;#39;&#38;#39;,
		&#38;#39;after_title&#38;#39; =&#38;gt; &#38;#39;&#38;#39;,
	));
}

add_action( &#38;#39;init&#38;#39;, &#38;#39;child_widgets_init&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any ideas? Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
