<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WPMU DEV Community &#187; Topic: Footers in Bp-social theme</title>
		<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme</link>
		<description>WPMU DEV Community &#187; Topic: Footers in Bp-social theme</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 11:27:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.2</generator>
		<atom:link href="http://premium.wpmudev.org/forums/rss/topic/footers-in-bp-social-theme" rel="self" type="application/rss+xml" />

		<item>
			<title>katypurviance on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-151917</link>
			<pubDate>Fri, 11 Nov 2011 18:34:01 +0000</pubDate>
			<dc:creator>katypurviance</dc:creator>
			<guid isPermaLink="false">151917@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Richie! Thanks again! I had tried the widget id, but I had forgotten about the single quotes! That made all the difference.
</p>]]></description>
		</item>
		<item>
			<title>Richie_KS on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-151719</link>
			<pubDate>Fri, 11 Nov 2011 04:29:03 +0000</pubDate>
			<dc:creator>Richie_KS</dc:creator>
			<guid isPermaLink="false">151719@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>hi<br />
try use the widget id instead..like this</p>
<pre><code>&#60;div id=&#34;footer-left&#34;&#62;
&#60;?php if ( !function_exists(&#39;dynamic_sidebar&#39;) &#124;&#124; !dynamic_sidebar( &#39;footer-left&#39; ) ) : ?&#62;
&#60;?php endif; ?&#62;
&#60;/div&#62;</code></pre>]]></description>
		</item>
		<item>
			<title>katypurviance on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-151684</link>
			<pubDate>Fri, 11 Nov 2011 00:30:11 +0000</pubDate>
			<dc:creator>katypurviance</dc:creator>
			<guid isPermaLink="false">151684@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Does anybody know what I did wrong?
</p>]]></description>
		</item>
		<item>
			<title>katypurviance on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-151299</link>
			<pubDate>Wed, 09 Nov 2011 23:01:15 +0000</pubDate>
			<dc:creator>katypurviance</dc:creator>
			<guid isPermaLink="false">151299@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>FYI</p>
<blockquote><p><code>!dynamic_sidebar(&#60;strong&#62;7&#60;/strong&#62;) ) : ?&#62;</code></p></blockquote>
<p>I didn't actually use strong tags in the code, I just bolded it here to call attention to it...</p>
<p>!dynamic_sidebar(<strong>7</strong>) ) : ?&#62;
</p>]]></description>
		</item>
		<item>
			<title>katypurviance on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-151298</link>
			<pubDate>Wed, 09 Nov 2011 22:59:11 +0000</pubDate>
			<dc:creator>katypurviance</dc:creator>
			<guid isPermaLink="false">151298@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Could someone help me with a little trouble shooting?</p>
<p>I'm using the theme Edu Clean. I &#60;strike&#62;added&#60;/strike&#62; tried to add three footer widgets. I followed the instructions at these two pages <a href="http://www.tipsandtricks-hq.com/how-to-add-widgets-to-wordpress-themes-footer-1033">http://www.tipsandtricks-hq.com/how-to-add-widgets-to-wordpress-themes-footer-1033</a> and <a href="http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/">http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/</a>. (they're essentially the same. I tried looking at the video here <a href="http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/">http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/</a> but there's an error with the video.</p>
<p>First I registered my three widget areas by adding this under the code for other widget area in functions.php:</p>
<pre><code>register_sidebar(array(
&#39;name&#39;=&#62; __(&#39;Footer Left&#39;, TEMPLATE_DOMAIN),
&#39;id&#39; =&#62; __(&#39;footer-left&#39;, TEMPLATE_DOMAIN),
&#39;description&#39; =&#62; __(&#39;Footer Left Widget&#39;, TEMPLATE_DOMAIN),
&#39;before_widget&#39; =&#62; &#39;&#60;li id=&#34;%1$s&#34; class=&#34;widget %2$s&#34;&#62;&#39;,
&#39;after_widget&#39; =&#62; &#39;&#60;/li&#62;&#39;,
&#39;before_title&#39; =&#62; &#39;&#60;h3&#62;&#39;,
&#39;after_title&#39; =&#62; &#39;&#60;/h3&#62;&#39;,
));

register_sidebar(array(
&#39;name&#39;=&#62; __(&#39;Footer Center&#39;, TEMPLATE_DOMAIN),
&#39;id&#39; =&#62; __(&#39;footer-center&#39;, TEMPLATE_DOMAIN),
&#39;description&#39; =&#62; __(&#39;Footer Center Widget&#39;, TEMPLATE_DOMAIN),
&#39;before_widget&#39; =&#62; &#39;&#60;li id=&#34;%1$s&#34; class=&#34;widget %2$s&#34;&#62;&#39;,
&#39;after_widget&#39; =&#62; &#39;&#60;/li&#62;&#39;,
&#39;before_title&#39; =&#62; &#39;&#60;h3&#62;&#39;,
&#39;after_title&#39; =&#62; &#39;&#60;/h3&#62;&#39;,
));

register_sidebar(array(
&#39;name&#39;=&#62; __(&#39;Footer Right&#39;, TEMPLATE_DOMAIN),
&#39;id&#39; =&#62; __(&#39;footer-right&#39;, TEMPLATE_DOMAIN),
&#39;description&#39; =&#62; __(&#39;Footer Right Widget&#39;, TEMPLATE_DOMAIN),
&#39;before_widget&#39; =&#62; &#39;&#60;li id=&#34;%1$s&#34; class=&#34;widget %2$s&#34;&#62;&#39;,
&#39;after_widget&#39; =&#62; &#39;&#60;/li&#62;&#39;,
&#39;before_title&#39; =&#62; &#39;&#60;h3&#62;&#39;,
&#39;after_title&#39; =&#62; &#39;&#60;/h3&#62;&#39;,
));</code></pre>
<p>I noticed that Edu Clean's other four widget areas do not use <code>count</code> before <code>array(</code>, so I didn't use it either. I think they didn't use a count because they registered each widget area separately so that they could give each one a unique name.</p>
<p>Next in footer.php, underneath</p>
<pre><code>&#60;div id=&#34;footer&#34;&#62;
&#60;div id=&#34;footer-wrap&#34;&#62;
&#60;div id=&#34;footer-container&#34;&#62;</code></pre>
<p>I added my code:</p>
<pre><code>&#60;div id=&#34;footer-sidebar&#34; class=&#34;secondary&#34;&#62;

&#60;div id=&#34;footer-left&#34;&#62;
&#60;?php if ( !function_exists(&#39;dynamic_sidebar&#39;) &#124;&#124; !dynamic_sidebar(5) ) : ?&#62;
&#60;?php endif; ?&#62;
&#60;/div&#62;

&#60;div id=&#34;footer-center&#34;&#62;
&#60;?php if ( !function_exists(&#39;dynamic_sidebar&#39;) &#124;&#124; !dynamic_sidebar(6) ) : ?&#62;
&#60;?php endif; ?&#62;
&#60;/div&#62;

&#60;div id=&#34;footer-right&#34;&#62;
&#60;?php if ( !function_exists(&#39;dynamic_sidebar&#39;) &#124;&#124; !dynamic_sidebar(7) ) : ?&#62;
&#60;?php endif; ?&#62;
&#60;/div&#62;

&#60;/div&#62;
&#60;div style=&#34;clear-both&#34;&#62;&#60;/div&#62;</code></pre>
<p>I used the numbers 5, 6, and 7 because that what number widget area they are. This seemed to be the model used by the tutorials.</p>
<p>Finally, I went to style.css and added:</p>
<pre><code>#footer-sidebar {
display:block;
height: 250px;
}

#footer-left {
float: left;
width: 340px;
margin-left:5px;
margin-right:5px;
}

#footer-center {
float: left;
width: 340px;
margin-right:5px;
}

#footer-right {
float: left;
width: 340px;
}</code></pre>
<p><strong>Here's what happened.</strong></p>
<p>I can see my three new widget areas in <code>wp-admin/widgets.php</code> and I can add widgets to them</p>
<p>However, on my page itself, the footer is just a lot taller now, probably an extra 250px taller, but the widgets I added to my new widget areas do not show up.</p>
<p><strong>Here's what I tried:</strong></p>
<p>I was a little suspicious those numbers I put into:</p>
<pre><code>&#60;div id=&#34;footer-right&#34;&#62;
&#60;?php if ( !function_exists(&#39;dynamic_sidebar&#39;) &#124;&#124; !dynamic_sidebar(&#60;strong&#62;7&#60;/strong&#62;) ) : ?&#62;
&#60;?php endif; ?&#62;
&#60;/div&#62;</code></pre>
<p>So I looked at the <a href="http://phpdoc.wordpress.org/trunk/WordPress/Widgets/_wp-includes---widgets.php.html#functionregister_sidebar">codex</a> under dynamic_sidebar.  I tried experimenting, based on how I understood the codex. I replaced the number with the id name, and with sidebar-[id name]. Neither of these worked.</p>
<p>I feel like I probably missed something really obvious. Can anyone guess what it is?</p>
<p>Thanks!
</p>]]></description>
		</item>
		<item>
			<title>Mason on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-85738</link>
			<pubDate>Sun, 27 Mar 2011 03:13:04 +0000</pubDate>
			<dc:creator>Mason</dc:creator>
			<guid isPermaLink="false">85738@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Marking this one as resolved.</p>
<p>Thanks guys!
</p>]]></description>
		</item>
		<item>
			<title>DavidM on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-82118</link>
			<pubDate>Thu, 10 Mar 2011 23:47:31 +0000</pubDate>
			<dc:creator>DavidM</dc:creator>
			<guid isPermaLink="false">82118@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Hi there psivait,</p>
<p>Perhaps the following tutorial from one of our own incredible theme developers would help:<br />
<a href="http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/" target="_blank">http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/</a></p>
<p>It's very easy to follow, including a video walk-through as well as code examples. If you'd like to start there and let us know where you might need some help, we'll be glad to see what we can do!</p>
<p>Cheers,<br />
David
</p>]]></description>
		</item>
		<item>
			<title>psivait on "Footers in Bp-social theme"</title>
			<link>http://premium.wpmudev.org/forums/topic/footers-in-bp-social-theme#post-82039</link>
			<pubDate>Thu, 10 Mar 2011 16:22:29 +0000</pubDate>
			<dc:creator>psivait</dc:creator>
			<guid isPermaLink="false">82039@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Hi,</p>
<p>How to add footer widgets in bp-social theme? I have seen themes containing footer1 to footer4 (totally 4 widgets). I want to have that kind of stuffs in bp-social.. Pls guide me on this.<br />
Thanks in advance.
</p>]]></description>
		</item>

	</channel>
</rss>