<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.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>Support Forum - Topic: Creating one full-width footer widget</title>
		<link>http://www.kriesi.at/support/topic/creating-one-full-width-footer-widget</link>
		<description>Support Forum - Topic: Creating one full-width footer widget</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 01:57:06 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/creating-one-full-width-footer-widget" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Creating one full-width footer widget"</title>
			<link>http://www.kriesi.at/support/topic/creating-one-full-width-footer-widget#post-6041</link>
			<pubDate>Tue, 05 Oct 2010 16:04:26 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">6041@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that James could help you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bck on "Creating one full-width footer widget"</title>
			<link>http://www.kriesi.at/support/topic/creating-one-full-width-footer-widget#post-5994</link>
			<pubDate>Tue, 05 Oct 2010 03:36:14 +0000</pubDate>
			<dc:creator>bck</dc:creator>
			<guid isPermaLink="false">5994@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Brilliant!  Works perfectly.  Greatly appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "Creating one full-width footer widget"</title>
			<link>http://www.kriesi.at/support/topic/creating-one-full-width-footer-widget#post-5969</link>
			<pubDate>Mon, 04 Oct 2010 14:35:17 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">5969@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Open up footer.php, find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
			$columns = 1;
			foreach ($k_option[&#38;#39;custom&#38;#39;][&#38;#39;footer&#38;#39;] as $footer_widget) //iterates 3 times creating 3 footer widget areas
			{
				$last = &#38;quot;&#38;quot;;
				if($columns == 4){$last = &#38;quot;last&#38;quot;; }

				echo &#38;#39;&#38;lt;div class=&#38;quot;footerColumn &#38;#39;.$footer_widget.&#38;#39; &#38;#39;.$last.&#38;#39;&#38;quot;&#38;gt;&#38;#39;;
				if (function_exists(&#38;#39;dynamic_sidebar&#38;#39;) &#38;amp;&#38;amp; dynamic_sidebar(&#38;#39;Footer - &#38;#39;.$footer_widget) ) : 

				else : dummy_widget($columns); endif; // dummy widgets defined at the bottom of widgets.php

				echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
				$columns++;
			} 

			?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and replace it with:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php if (function_exists(&#38;#39;dynamic_sidebar&#38;#39;) &#38;amp;&#38;amp; dynamic_sidebar(&#38;#39;Footer&#38;#39;) ) ; ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Next, open up widgets.php, find this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$k_option[&#38;#39;custom&#38;#39;][&#38;#39;footer&#38;#39;] = array(&#38;#39;column1&#38;#39;,&#38;#39;column2&#38;#39;,&#38;#39;column3&#38;#39;,&#38;#39;column4&#38;#39;);

	foreach ($k_option[&#38;#39;custom&#38;#39;][&#38;#39;footer&#38;#39;] as $footer_widget)
	{
		register_sidebar(array(
		&#38;#39;name&#38;#39; =&#38;gt; &#38;#39;Footer - &#38;#39;.$footer_widget,
		&#38;#39;before_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;div id=&#38;quot;%1$s&#38;quot; class=&#38;quot;box_small box widget %2$s&#38;quot;&#38;gt;&#38;#39;,
		&#38;#39;after_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;,
		&#38;#39;before_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;h3 class=&#38;quot;widgettitle&#38;quot;&#38;gt;&#38;#39;,
		&#38;#39;after_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/h3&#38;gt;&#38;#39;,
		));
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and replace it with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;register_sidebar(array(
		&#38;#39;name&#38;#39; =&#38;gt; &#38;#39;Footer&#38;#39;,
		&#38;#39;before_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;div id=&#38;quot;%1$s&#38;quot; class=&#38;quot;box_small box widget %2$s&#38;quot;&#38;gt;&#38;#39;,
		&#38;#39;after_widget&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;,
		&#38;#39;before_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;h3 class=&#38;quot;widgettitle&#38;quot;&#38;gt;&#38;#39;,
		&#38;#39;after_title&#38;#39; =&#38;gt; &#38;#39;&#38;lt;/h3&#38;gt;&#38;#39;,
	));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Upload both files and setup your widgets :)&#60;/p&#62;
&#60;p&#62;James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bck on "Creating one full-width footer widget"</title>
			<link>http://www.kriesi.at/support/topic/creating-one-full-width-footer-widget#post-5830</link>
			<pubDate>Sat, 02 Oct 2010 00:49:41 +0000</pubDate>
			<dc:creator>bck</dc:creator>
			<guid isPermaLink="false">5830@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I desire to have one full-width footer widget instead of the four columns.  For example, to have an easily editable quote/text run along the bottom of the page.  Does anyone have the coding solution to making this happen?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
