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: Integrating Action Hooks into sidebars / asides http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Fri, 29 May 2015 18:13:34 +0000 Chris on "Integrating Action Hooks into sidebars / asides" http://forums.themeshaper.com/topic/integrating-action-hooks-into-sidebars-asides#post-1790 Mon, 23 Feb 2009 20:22:43 +0000 Chris 1790@http://forums.themeshaper.com/ <p>Not exactly .. and don't know how this compares to Tarski .. by installing Thematic and a child theme the left or right sidebar or both would display the hard coded content .. that's still as usual .. </p> <p>the basic idea for my changes was to use either widgets or functions for the sidebar areas or asides .. if you define widgets and no actions, the defined widgets will be displayed .. as soon as you define actions, only the actions would be displayed. </p> <p>Benefits are: writing actions is easier compared to widgets, a child theme could completely control the content and the position of the actions ('widgets') within the functions.php without the need to walk through the wp_admin menu. A child theme could even control the position of the actions depending on index, pages, archives, single page and so on without the need of additional plugins.</p> <p>Removing a sidebar is implemented for the right / left / both sidebars .. and for these it makes sense. I might implement a similar function for the asides, just in case that someone wants to remove these asides from special pages or single posts. </p> Ian Stewart on "Integrating Action Hooks into sidebars / asides" http://forums.themeshaper.com/topic/integrating-action-hooks-into-sidebars-asides#post-1784 Mon, 23 Feb 2009 12:40:58 +0000 Ian Stewart 1784@http://forums.themeshaper.com/ <p>So the existing widgets and the dynamic bits are loaded in an action that can be removed via plugin a la Tarski? </p> Chris on "Integrating Action Hooks into sidebars / asides" http://forums.themeshaper.com/topic/integrating-action-hooks-into-sidebars-asides#post-1783 Mon, 23 Feb 2009 10:13:48 +0000 Chris 1783@http://forums.themeshaper.com/ <p>Mmmh .. the community isn't too responsive :-)</p> <p>Hey Ian,</p> <p>if nothing speaks against it from your side, I'm going to integrate it. If we take a look on the 'regular' sidebar it would be something like:</p> <p>no widgets and no actions =&gt; display the standard hard coded 'widgets'<br /> widgets and no actions =&gt; display the configured widgets<br /> actions defined =&gt; display the defined actions (no widgets are displayed)</p> <p>Cheers,</p> <p>Chris </p> Chris on "Integrating Action Hooks into sidebars / asides" http://forums.themeshaper.com/topic/integrating-action-hooks-into-sidebars-asides#post-1708 Mon, 16 Feb 2009 13:20:14 +0000 Chris 1708@http://forums.themeshaper.com/ <p>I need your help!</p> <p>Are there any reasons, why we should integrate action hooks into sidebars / asides as an alternative to widgets?? (the before / after widgetized area hooks are existing) </p> <p>Please keep in mind that you're able to distribute your own widgets. Just copy the widgets into the directory /child_theme/widgets.</p> <p>Cheers,</p> <p>Chris </p>