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 Tag: widget http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Thu, 28 May 2015 13:58:55 +0000 helgatheviking on "Create widget areas below my lefted vertical menu" http://forums.themeshaper.com/topic/create-widget-areas-below-my-lefted-vertical-menu#post-26974 Fri, 11 May 2012 16:50:12 +0000 helgatheviking 26974@http://forums.themeshaper.com/ <p>as i suggested you need to override the thematic_access() function that is creating the #access div. don't touch, but look around the extensions folder... you'll see all the behind-the-scenes power. you'll also notice a whole slew of functions that take the form of</p> <pre><code>if (function_exists(&#39;childtheme_override_some_function&#39;)) { function thematic_some_function() { childtheme_override_some_function(); } } else { function thematic_some_function() { echo &quot;some function here!&quot;; } }</code></pre> <p>this means that anywhere you want to override something you can copy the thematic_some_function() function into your functions.php and rename it to childtheme_override_some_function().</p> <p>as i said, you need to add an action hook inside of access. so you need to override thematic_access() like so (oh and you'll need to define the action hook)</p> <pre><code>// define action hook inside the #access div function kia_access_widget_area() { do_action(&#39;kia_access_widget_area&#39;); } // end kia_access_widget_area //override thematic_access function childtheme_override_thematic_access() { ?&gt; &lt;div id=&quot;access&quot;&gt; &lt;div class=&quot;skip-link&quot;&gt;&lt;a href=&quot;#content&quot; title=&quot;&lt;?php _e(&#39;Skip navigation to the content&#39;, &#39;thematic&#39;); ?&gt;&quot;&gt;&lt;?php _e(&#39;Skip to content&#39;, &#39;thematic&#39;); ?&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- .skip-link --&gt; &lt;?php if ((function_exists(&quot;has_nav_menu&quot;)) &#38;&#38; (has_nav_menu(apply_filters(&#39;thematic_primary_menu_id&#39;, &#39;primary-menu&#39;)))) { echo wp_nav_menu(thematic_nav_menu_args()); } else { echo thematic_add_menuclass(wp_page_menu(thematic_page_menu_args())); } // here&#39;s our new hook kia_access_widget_area(); ?&gt; &lt;/div&gt;&lt;!-- #access --&gt; &lt;?php }</code></pre> <p>lastly you'll add your new widget to this new hook instead of above_container</p> <pre><code>// This will create your widget area function my_widgets_init() { register_sidebar(array( &#39;name&#39; =&gt; &#39;Submenu&#39;, &#39;id&#39; =&gt; &#39;submenu&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &#39;&#39;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); } add_action( &#39;init&#39;, &#39;my_widgets_init&#39; ); // adding the widget area to your child theme // adjust action hook to newly created hook function submenu_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;submenu&#39;) ) { echo &#39;&lt;div id=&quot;submenu&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;submenu&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #submenu .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;kia_access_widget_area&#39;,&#39;submenu_widgets&#39;);</code></pre> <p>completely untested. so be wary of typos. </p> pm on "Create widget areas below my lefted vertical menu" http://forums.themeshaper.com/topic/create-widget-areas-below-my-lefted-vertical-menu#post-26973 Fri, 11 May 2012 15:21:56 +0000 pm 26973@http://forums.themeshaper.com/ <p>@helga<br /> Thanks for your answer</p> <p>Sorry, but i'm kind of a functions/php newbie. So i got my widget area working with this code :</p> <pre><code>// This will create your widget area function my_widgets_init() { register_sidebar(array( &#39;name&#39; =&gt; &#39;Submenu&#39;, &#39;id&#39; =&gt; &#39;submenu&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &#39;&#39;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); } add_action( &#39;init&#39;, &#39;my_widgets_init&#39; ); // adding the widget area to your child theme function submenu_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;submenu&#39;) ) { echo &#39;&lt;div id=&quot;submenu&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;submenu&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #submenu .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_abovecontainer&#39;,&#39;submenu_widgets&#39;);</code></pre> <p>But i would like to put it inside the #access Div which is located in the wrapper :</p> <pre><code>&lt;body&gt; &lt;div id=&quot;header&quot;&gt;&lt;/div&gt; &lt;div id=&quot;wrapper&quot;&gt; &lt;div id=&quot;access&quot;&gt;&lt;/div&gt; &lt;div id=&quot;submenu&quot;&gt;&lt;/div&gt; &lt;div id=&quot;container&quot;&gt;&lt;/div&gt; &lt;div id=&quot;primary&quot;&gt;&lt;/div&gt; &lt;/div&gt; &lt;div id=&quot;footer&quot;&gt;&lt;/div&gt; &lt;/body&gt;</code></pre> <p>I tested a lot of things but don't find the way #submenu in #access.</p> <p>Thanks for your help. </p> helgatheviking on "Create widget areas below my lefted vertical menu" http://forums.themeshaper.com/topic/create-widget-areas-below-my-lefted-vertical-menu#post-26972 Fri, 11 May 2012 13:56:24 +0000 helgatheviking 26972@http://forums.themeshaper.com/ <p>right on the front page of the forum:<br /> <a href="http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas" rel="nofollow">http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas</a></p> <p>how to add a widget area is in there. but you'll need extra trickery to get inside #access</p> <p>you'd have to override access and rewrite it to add an action hook, then use that hook when defining your widget. </p> pm on "Create widget areas below my lefted vertical menu" http://forums.themeshaper.com/topic/create-widget-areas-below-my-lefted-vertical-menu#post-26971 Fri, 11 May 2012 11:35:40 +0000 pm 26971@http://forums.themeshaper.com/ <p>Hello all. Sorry for my problem which seems to me a bit tricky.</p> <p>I've my vertical menu which is positioned (fixed) at the left of the website (<strong>div #access into the #wrapper</strong>)</p> <p>I would like to <strong>add widget areas (3-4)</strong> below this vertical navigation menu and <strong>inject these widgets into the Div #access.</strong></p> <p>Is it possible to do that? Am i crazy? </p> bogh on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-26911 Wed, 09 May 2012 18:13:09 +0000 bogh 26911@http://forums.themeshaper.com/ <p>Thanks for your quick answer.</p> <p>Because I can't seem to find a way to do it how I wanted, I will just position it above the Primary Aside.</p> <p>Thanks again. I wish you a good day. </p> helgatheviking on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-26906 Wed, 09 May 2012 17:52:31 +0000 helgatheviking 26906@http://forums.themeshaper.com/ <p>appreciate that. as you can imagine it is very frustrating on my end to answer what can be found by googling. it happens all the time too. </p> <p>i do not believe you can move the location of the admin widget box out of the right-hand column. i don't know for certain, but since you can't even drag and re-position it there (like you can rearrange most boxes in the admin) i am going to guess that you can't. it is certainly way beyond the scope of thematic theme mods even if you can. </p> bogh on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-26902 Wed, 09 May 2012 16:49:31 +0000 bogh 26902@http://forums.themeshaper.com/ <p>I am sorry about the confusion.<br /> I was reffering to the backend (*appeareance &gt; widgets).<br /> So if I am creating a widget area like @hlynnt have done, how can I add it above the "Inactive Widgets" area, instead of adding it on the right side where are the other widget areas (Primary Aside, Secondary Aside etc.)</p> <p>For this one I have googled a lot :) , I don't use to ask for help without making my searches first ... </p> <p>Thanks </p> helgatheviking on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-26899 Wed, 09 May 2012 16:29:19 +0000 helgatheviking 26899@http://forums.themeshaper.com/ <blockquote><p>Is there a way I can move a widget area like that above the "Inactive Widgets" area?</p></blockquote> <p>sorry, do not understand at all. Inactive Widgets is in the backend. are you referring to the admin menu order?</p> <p>as for always keeping it open, let me google that for you.</p> <p>first result:<br /> <a href="http://stackoverflow.com/questions/5828300/wordpress-how-to-keep-a-widget-sidebar-open-by-default" rel="nofollow">http://stackoverflow.com/questions/5828300/wordpress-how-to-keep-a-widget-sidebar-open-by-default</a> </p> bogh on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-26898 Wed, 09 May 2012 16:05:25 +0000 bogh 26898@http://forums.themeshaper.com/ <p>Hi,</p> <p>Is there a way I can move a widget area like that above the "Inactive Widgets" area?</p> <p>I suppose I just have to replace "register_sidebar" with something else, but with what?! </p> <p>And how can I make it stay opened, like the "Primary Aside" which is always opened ?</p> <p>Thank you! </p> helgatheviking on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26887 Tue, 08 May 2012 23:34:12 +0000 helgatheviking 26887@http://forums.themeshaper.com/ <p>well as i mentioned in the something new bout widgets thread... its all the same except for where you have your conditionals</p> <p>add an extra condition to this to make it only display in certain places</p> <pre><code>if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;right&#39;) ) {</code></pre> candregg on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26886 Tue, 08 May 2012 23:18:16 +0000 candregg 26886@http://forums.themeshaper.com/ <p>I changed the padding and margins of the containing widgetareas and it finally worked. Thanks! Now on to those conditional Primary widget variants... </p> helgatheviking on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26885 Tue, 08 May 2012 22:08:08 +0000 helgatheviking 26885@http://forums.themeshaper.com/ <p>well had to ask the obvious esp, b/c i just dropped this into my local install and the widgets do appear in the markup as expected. so there is something else going on here. try putting a different widget in the right sidebar? </p> bogh on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26884 Tue, 08 May 2012 20:57:40 +0000 bogh 26884@http://forums.themeshaper.com/ <p>HI,</p> <p>Here is a thematic widget like I use it:<br /> <pre><code>class Footer_Text_Widget extends WP_Widget { function Footer_Text_Widget() { $widget_ops = array(&#39;classname&#39; =&gt; &#39;widget_footer_text&#39;, &#39;description&#39; =&gt; __( &quot;Add some text to your footer.&quot;) ); $this-&gt;WP_Widget(&#39;footer_text_widget&#39;, __(&#39;Footer_Text_Widget&#39;, &#39;thematic&#39;), $widget_ops); } function update($new_instance, $old_instance) { // processes widget options to be saved return $new_instance; } function widget($args, $instance) { // outputs the content of the widget extract($args); echo $before_widget; ?&gt; &lt;?php echo $before_title; ?&gt;&lt;?php echo $footer_text_widget_title; ?&gt;&lt;?php echo $after_title; ?&gt; &lt;ul&gt; &lt;li&gt;//Your Code Here&lt;/li&gt; &lt;/ul&gt; &lt;?php echo $after_widget; } } } register_widget(&#39;Footer_Text_Widget&#39;);</code></pre> candregg on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26882 Tue, 08 May 2012 20:19:34 +0000 candregg 26882@http://forums.themeshaper.com/ <p>The widget exists in the admin area, and I have it populated with content almost identical to that in Left. I have also verified that the content exists.</p> <p>But, no, it doesn't show in the source code or online. That's the problem. What I need to figure out is Why. And of course, how to fix it. </p> helgatheviking on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26881 Tue, 08 May 2012 20:15:13 +0000 helgatheviking 26881@http://forums.themeshaper.com/ <p>there isn't a right widget in your markup. you might not have a widget in it. </p> candregg on "custom side-by-side widgets" http://forums.themeshaper.com/topic/custom-side-by-side-widgets#post-26878 Tue, 08 May 2012 18:11:40 +0000 candregg 26878@http://forums.themeshaper.com/ <p>I am trying to add several widgets to the Thematic child theme sidebar. Some have worked; some not. I have successfully added a custom widget above the Primary. Now I am trying to add a Left and Right widget side-by-side between the primary and secondary widget areas.</p> <p>Here is the function code (in parts):</p> <pre><code>// Add additional Widget // Create your widget area function my_widgets_init() { register_sidebar(array( &#39;name&#39; =&gt; &#39;Community&#39;, &#39;id&#39; =&gt; &#39;community&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &quot;&quot;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); register_sidebar(array( &#39;name&#39; =&gt; &#39;Left&#39;, &#39;id&#39; =&gt; &#39;left&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &quot;&quot;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); register_sidebar(array( &#39;name&#39; =&gt; &#39;Right&#39;, &#39;id&#39; =&gt; &#39;right&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &quot;&quot;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); } add_action( &#39;init&#39;, &#39;my_widgets_init&#39; ); // adding the widget area to your child theme function my_community_widget() { echo &#39;&lt;div id=&quot;community&quot; class=&quot;aside&quot;&gt;&#39;?&gt; &lt;ul class=&quot;community&quot;&gt; &lt;/code&gt; &lt;code&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/rss.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/email.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/facebook.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/twitter.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/linkedin.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#39;stylesheet_directory&#39;); ?&gt;/images/youtube.png&quot; width=&quot;32&quot; height=&quot;32&quot; /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/div&gt; &lt;?php } add_action(&#39;thematic_abovemainasides&#39;,&#39;my_community_widget&#39;); // Adding Left and Right Widgets function my_left_widget() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;left&#39;) ) { echo &#39;&lt;div id=&quot;left&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;left&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #left .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_betweenmainasides&#39;,&#39;my_left_widget&#39;); function my_right_widget() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;right&#39;) ) { echo &#39;&lt;div id=&quot;right&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;right&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #right .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_betweenmainasides&#39;,&#39;my_right_widget&#39;);</code></pre> <p>Here is the css:</p> <pre><code>#left { margin: 0; padding: 12px; width: 126px; float: left; } #right { margin:0; padding:12px; float: right; width: 126px; }</code></pre> <p>The Community widget went in perfectly, and looks great! Further down, while the Left and Right widget areas appear in the Admin area, only the Left widget content is visible on the webpage. Please see <a href="http://seacliffmm.com/prod/indigest/admin/." rel="nofollow">http://seacliffmm.com/prod/indigest/admin/.</a></p> <p>Any help?</p> <p>Once I get this one figured out, I need to make six different Primary widget areas that will appear based on which category or page is active. That will be another topic.</p> <p>Thanks!</p> <p>Caron </p> helgatheviking on "index top widget for category page?" http://forums.themeshaper.com/topic/index-top-widget-for-category-page#post-26740 Tue, 01 May 2012 23:54:06 +0000 helgatheviking 26740@http://forums.themeshaper.com/ <p>ugh, i don't really advise switching everything to pages. it is inefficient from a query standpoint. the blog template is going to one day be deprecated too. </p> bhomatude on "index top widget for category page?" http://forums.themeshaper.com/topic/index-top-widget-for-category-page#post-26738 Tue, 01 May 2012 23:01:43 +0000 bhomatude 26738@http://forums.themeshaper.com/ <p>Thanks Helga -- yes the widget I added was not in the correct place. I actually just wanted that index top widget to also display on category pages. I ended up just changing all my category pages to pages that displayed categorized posts. That allowed me to continue using the index top widget.</p> <p>But I'm going to take a look at your suggestion here for the future.</p> <p>Thanks again for your help! </p> helgatheviking on "index top widget for category page?" http://forums.themeshaper.com/topic/index-top-widget-for-category-page#post-26727 Tue, 01 May 2012 13:56:27 +0000 helgatheviking 26727@http://forums.themeshaper.com/ <p>what's wrong with the header widget you've created? is it in the wrong place or do you only want it to display on category pages?</p> <p>you could either adjust your conditional logic for displaying the dynamic_sidebar like so:</p> <pre><code>// adding the widget area to your child theme function my_header_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;header-aside&#39;) &#38;&#38; is_category()) { echo &#39;&lt;div id=&quot;header-aside&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;header-aside&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #header-aside .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_belowheader&#39;, &#39;my_header_widgets&#39;, 8);</code></pre> <p>or you could put it on a hook that only displays on category pages, such as thematic_above_categoryloop() (which is also in a slightly different position)</p> <pre><code>// adding the widget area to your child theme function my_header_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;header-aside&#39;) ) { echo &#39;&lt;div id=&quot;header-aside&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;header-aside&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #header-aside .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_above_categoryloop&#39;, &#39;my_header_widgets&#39;);</code></pre> bhomatude on "index top widget for category page?" http://forums.themeshaper.com/topic/index-top-widget-for-category-page#post-26725 Tue, 01 May 2012 00:55:03 +0000 bhomatude 26725@http://forums.themeshaper.com/ <p>I'm currently using the index top widget area for the posts page, but I'd also like to use it for all my category pages. Perhaps I need to add another widget area specifically for this? If so, what would I hook into ? I'm successfully adding a widget below the header (see code below) but that's not really what I want to do.<br /> <pre><code>//add widget below header // This will create your widget area function my_widgets_init() { register_sidebar(array( &#39;name&#39; =&gt; &#39;Header Aside&#39;, &#39;id&#39; =&gt; &#39;header-aside&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &quot;&quot;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); } add_action( &#39;init&#39;, &#39;my_widgets_init&#39; ); // adding the widget area to your child theme function my_header_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;header-aside&#39;) ) { echo &#39;&lt;div id=&quot;header-aside&quot; class=&quot;aside&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;header-aside&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #header-aside .aside --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_belowheader&#39;, &#39;my_header_widgets&#39;, 8); //end add widget below header</code></pre> hlynnt on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-25934 Wed, 14 Mar 2012 23:12:04 +0000 hlynnt 25934@http://forums.themeshaper.com/ <p>Thanks! it works</p> <pre><code>// creates widget Featured Home function featured_home_widgets_init() { register_sidebar(array( &#39;name&#39; =&gt; &#39;Featured Home&#39;, &#39;id&#39; =&gt; &#39;featured-home&#39;, &#39;before_widget&#39; =&gt; &#39;&lt;li id=&quot;%1$s&quot; class=&quot;widgetcontainer %2$s&quot;&gt;&#39;, &#39;after_widget&#39; =&gt; &quot;&quot;, &#39;before_title&#39; =&gt; &quot;&lt;h3 class=\&quot;widgettitle\&quot;&gt;&quot;, &#39;after_title&#39; =&gt; &quot;&lt;/h3&gt;\n&quot;, )); } add_action( &#39;init&#39;, &#39;featured_home_widgets_init&#39; ); // adding the widget area to your child theme function featured_home_widgets() { if ( function_exists(&#39;dynamic_sidebar&#39;) &#38;&#38; is_sidebar_active(&#39;featured-home&#39;) ) { echo &#39;&lt;div id=&quot;featured-home&quot; class=&quot;aside clearfix&quot;&gt;&#39;. &quot;\n&quot; . &#39;&lt;ul class=&quot;xoxo&quot;&gt;&#39; . &quot;\n&quot;; dynamic_sidebar(&#39;featured-home&#39;); echo &#39;&#39; . &quot;\n&quot; . &#39;&lt;/div&gt;&lt;!-- #featured-home --&gt;&#39;. &quot;\n&quot;; } } add_action(&#39;thematic_belowheader&#39;, &#39;featured_home_widgets&#39;, 8);</code></pre> helgatheviking on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-25933 Wed, 14 Mar 2012 21:24:16 +0000 helgatheviking 25933@http://forums.themeshaper.com/ <p><a href="http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas#post-6660" rel="nofollow">http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas#post-6660</a><br /> change to suit </p> hlynnt on "How to add a Widgetized area using thematic_belowheader();" http://forums.themeshaper.com/topic/how-to-add-a-widgetized-area-using-thematic_belowheader#post-25931 Wed, 14 Mar 2012 21:08:52 +0000 hlynnt 25931@http://forums.themeshaper.com/ <p>On the home page of my child theme I would like to add a widgetized area which will hold a slider and four featured post boxes. Because I want this to appear above #main I need to insert this content with the action hook thematic_belowheader();</p> <p>How do I insert a widgetized area specific to the home page with an action hook?</p> <p>I haven't been using PHP or WP in a while so I need some instruction. </p> <p>Thanks in advance! </p> helgatheviking on "Widgets in Leader Asides Static with the page" http://forums.themeshaper.com/topic/widgets-in-leader-asides-static-with-the-page#post-25029 Tue, 24 Jan 2012 21:20:41 +0000 helgatheviking 25029@http://forums.themeshaper.com/ <p>there isn't a background at all, so i'm still unclear. might need some screen shots. a pic is worth a thousand words after all. </p> cartelco on "Widgets in Leader Asides Static with the page" http://forums.themeshaper.com/topic/widgets-in-leader-asides-static-with-the-page#post-25026 Tue, 24 Jan 2012 20:24:14 +0000 cartelco 25026@http://forums.themeshaper.com/ <p>I basically want the categories section, which I put in the 1st leader aside widget area, to move with its background. </p> cartelco on "Widgets in Leader Asides Static with the page" http://forums.themeshaper.com/topic/widgets-in-leader-asides-static-with-the-page#post-25025 Tue, 24 Jan 2012 20:19:44 +0000 cartelco 25025@http://forums.themeshaper.com/ <p>Here's a link: <a href="http://www.cocreativecartel.com/blog" rel="nofollow">www.cocreativecartel.com/blog</a> </p> helgatheviking on "Widgets in Leader Asides Static with the page" http://forums.themeshaper.com/topic/widgets-in-leader-asides-static-with-the-page#post-25023 Tue, 24 Jan 2012 20:08:52 +0000 helgatheviking 25023@http://forums.themeshaper.com/ <p>sorry, i have no idea what you mean. we're going to need more information and probably a link. </p> cartelco on "Widgets in Leader Asides Static with the page" http://forums.themeshaper.com/topic/widgets-in-leader-asides-static-with-the-page#post-25018 Tue, 24 Jan 2012 19:11:26 +0000 cartelco 25018@http://forums.themeshaper.com/ <p>I'm having trouble the 1st leader aside in my page. I'm trying to set the content static so it moves with the page and its background. It seems like a simple fix, but I can't for the life of me get it to move! Can someone point me in the right direction? Thanks! </p> goboygodesign on "Custom sidebar template best practice?" http://forums.themeshaper.com/topic/custom-sidebar-template-best-practice#post-24934 Tue, 17 Jan 2012 16:19:55 +0000 goboygodesign 24934@http://forums.themeshaper.com/ <p>Thank you for the suggestions, After some reflection I think that jQuery is going to be the best bet - it's just a minor stylistic addition, so it doesn't warrant a full new sidebar - I'd rather keep the original thematic framework there. </p> fwunder on "Custom sidebar template best practice?" http://forums.themeshaper.com/topic/custom-sidebar-template-best-practice#post-24813 Wed, 11 Jan 2012 02:39:34 +0000 fwunder 24813@http://forums.themeshaper.com/ <p>You might want to look at Image Widget:</p> <p><a href="http://wordpress.org/extend/plugins/image-widget/" rel="nofollow">http://wordpress.org/extend/plugins/image-widget/</a></p> <p>Very easy to customize and absolutely position - at least in my case. </p>