Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Change the order widget areas are stacked http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Fri, 29 May 2015 04:06:03 +0000 malinki on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-18896 Wed, 02 Feb 2011 10:46:59 +0000 malinki 18896@http://forums.themeshaper.com/ <p>Ahh! Muchos gracias. My deadline looks achievable and a great weight has lifted from my shoulders. :-)</p> <p>For third aside people, remember to #third_aside_div_name {clear: right;} to get them to stack nicely. </p> helgatheviking on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-18894 Wed, 02 Feb 2011 10:11:17 +0000 helgatheviking 18894@http://forums.themeshaper.com/ <p>yuppers. got this from gene. i was looking to change the class on a widget with id of header-aside so you'll need to change that to your id</p> <pre><code>//change class of header aside function child_header_widget_class($content) { $child_class = str_replace(&#39;header-aside&quot; class=&quot;aside&#39;, &#39;header-aside&quot; class=&quot;aside main-aside&#39;, $content); return $child_class; } add_filter(&#39;thematic_before_widget_area&#39;, &#39;child_header_widget_class&#39;);</code></pre> malinki on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-18893 Wed, 02 Feb 2011 09:47:07 +0000 malinki 18893@http://forums.themeshaper.com/ <p>Gorblimey guv'nor... it works!</p> <p>Add a third aside and have it show third in list of widgetized areas:</p> <p>function add_tertiary_aside($content) {<br /> $content['Tertiary Aside'] = array(<br /> 'admin_menu_order' =&gt; 300,<br /> 'args' =&gt; array (<br /> 'name' =&gt; 'Tertiary Aside',<br /> 'id' =&gt; 'tertiary-aside',<br /> 'before_widget' =&gt; thematic_before_widget(),<br /> 'after_widget' =&gt; thematic_after_widget(),<br /> 'before_title' =&gt; thematic_before_title(),<br /> 'after_title' =&gt; thematic_after_title(),<br /> ),<br /> 'action_hook' =&gt; 'thematic_belowmainasides',<br /> 'function' =&gt; 'thematic_tertiary_aside',<br /> 'priority' =&gt; 8,<br /> );<br /> return $content;<br /> }<br /> add_filter('thematic_widgetized_areas', 'add_tertiary_aside');</p> <p>function thematic_tertiary_aside() {<br /> if (is_sidebar_active('tertiary-aside')) {<br /> echo thematic_before_widget_area('tertiary-aside');<br /> dynamic_sidebar('tertiary-aside');<br /> echo thematic_after_widget_area('tertiary-aside');<br /> }<br /> }</p> <p>Thx Madame Viking!</p> <p>But is it possible to assign the main-aside class to the new widget area? </p> helgatheviking on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-18874 Tue, 01 Feb 2011 15:39:31 +0000 helgatheviking 18874@http://forums.themeshaper.com/ <p>i don't think it can be done in your code. i highly recommend filtering the thematic_widget_areas array.. which i believe is the method shown the post you referenced.</p> <p>'admin_menu_order' is then the array key you need to target to control where it gets sorted in the admin/backend </p> malinki on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-18872 Tue, 01 Feb 2011 15:28:10 +0000 malinki 18872@http://forums.themeshaper.com/ <p>What if I didn't use the filter 'thematic_widgetized_areas'? (I wouldn't even know if I had actually, but I can't see anything akin to 'admin_menu_order' in what I did)!</p> <p>I added a 'tertiary aside' using: </p> <p>function my_widgets_init() {<br /> register_sidebar(array(<br /> 'name' =&gt; 'Tertiary Aside',<br /> 'id' =&gt; 'tertiary-aside',<br /> 'before_widget' =&gt; '&lt;li id="%1$s" class="widgetcontainer %2$s"&gt;',<br /> 'after_widget' =&gt; "",<br /> 'before_title' =&gt; "&lt;h3 class=\"widgettitle\"&gt;",<br /> 'after_title' =&gt; "&lt;/h3&gt;\n",<br /> ));</p> <p>}<br /> add_action( 'init', 'my_widgets_init' );</p> <p>function my_extra_widgets() {<br /> if ( function_exists('dynamic_sidebar') &#38;&#38; is_sidebar_active('tertiary-aside') ) {<br /> echo '&lt;div id="tertiary-aside" class="aside"&gt;'. "\n" . '&lt;ul class="xoxo"&gt;' . "\n";<br /> dynamic_sidebar('tertiary-aside');<br /> echo '' . "\n" . '&lt;/div&gt;&lt;!-- #tertiary-aside .aside --&gt;'. "\n";<br /> }<br /> }<br /> add_action('thematic_belowmainasides', 'my_extra_widgets', 8);</p> <p>and it would be great if it could show up under the 'Second Aside' in the list. </p> <p>I have looked at the somthing new 'bout post, but can't figure it out!</p> <p>Thx. </p> mirko77 on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-16939 Fri, 12 Nov 2010 10:33:59 +0000 mirko77 16939@http://forums.themeshaper.com/ <p>Thank you! </p> Chris on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-16757 Fri, 05 Nov 2010 22:04:18 +0000 Chris 16757@http://forums.themeshaper.com/ <p>Hi,</p> <p>if you used the filter 'thematic_widgetized_areas' to create the widget areas, change the 'admin_menu_order' to something below 100 for your widget areas. Both will show up above Primary Aside.</p> <p>Chris </p> mirko77 on "Change the order widget areas are stacked" http://forums.themeshaper.com/topic/change-the-order-widget-areas-are-stacked#post-16742 Fri, 05 Nov 2010 15:23:31 +0000 mirko77 16742@http://forums.themeshaper.com/ <p>I created some custom widgets and I added them to the admin area.</p> <p>How can I customise the stack order? I create a "Header Left" and "Header Right" areas and I would like to have them at the top of my list (in the widget admin page).</p> <p>Thank you </p>