<?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: Changing Default Widgets</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 10:32:19 +0000</pubDate>

<item>
<title>Chris on "Changing Default Widgets"</title>
<link>http://themeshaper.com/forums/topic/changing-default-widgets#post-5248</link>
<pubDate>Mon, 20 Jul 2009 19:42:53 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">5248@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This should work .. my code was thought as an example how to change the default widgets to something else.&#60;/p&#62;
&#60;p&#62;.. and .. yes .. you don't need a function. Just put the code into your child theme's functions.php
&#60;/p&#62;</description>
</item>
<item>
<title>Mischif on "Changing Default Widgets"</title>
<link>http://themeshaper.com/forums/topic/changing-default-widgets#post-5132</link>
<pubDate>Tue, 14 Jul 2009 02:22:08 +0000</pubDate>
<dc:creator>Mischif</dc:creator>
<guid isPermaLink="false">5132@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I just tried this with a fresh install of 2.8.1, but it isn't working; I need search, links, archives and meta in that order in the primary aside and a text box in the secondary aside. I'm trying to make it work with this code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// Pre-set Widgets
$preset_widgets = array (
	&#38;#39;primary-aside&#38;#39;  =&#38;gt; array( &#38;#39;search&#38;#39;, &#38;#39;links&#38;#39;, &#38;#39;archives&#38;#39;, &#38;#39;meta&#38;#39;),
	&#38;#39;secondary-aside&#38;#39;  =&#38;gt; array( &#38;#39;text&#38;#39; )
);
if ( isset( $_GET[&#38;#39;activated&#38;#39;] ) ) {
	update_option( &#38;#39;sidebars_widgets&#38;#39;, $preset_widgets );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm assuming I don't need to add an action in functions.php, just having it in there will work.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Changing Default Widgets"</title>
<link>http://themeshaper.com/forums/topic/changing-default-widgets#post-5034</link>
<pubDate>Thu, 09 Jul 2009 20:12:32 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">5034@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;this is integrated .. but you need to wait for WP 2.8.1 (hope so .. tested with 2.9-rare) .. the following code works under WP 2.7.x but not under WP 2.8:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// Pre-set Widgets
$preset_widgets = array (
	&#38;#39;primary-aside&#38;#39;  =&#38;gt; array( &#38;#39;search&#38;#39;),
	&#38;#39;secondary-aside&#38;#39;  =&#38;gt; array( &#38;#39;RSS Links&#38;#39;, &#38;#39;meta&#38;#39; )
);
if ( isset( $_GET[&#38;#39;activated&#38;#39;] ) ) {
	update_option( &#38;#39;sidebars_widgets&#38;#39;, $preset_widgets );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>Mischif on "Changing Default Widgets"</title>
<link>http://themeshaper.com/forums/topic/changing-default-widgets#post-4918</link>
<pubDate>Fri, 03 Jul 2009 20:22:10 +0000</pubDate>
<dc:creator>Mischif</dc:creator>
<guid isPermaLink="false">4918@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am working on a child theme, but in order for it to look its best, I need to change the default widgets that appear in the primary and secondary asides. I know there was talk about putting this feature into thematic, but has it been applied yet? If so, how could I do it?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

