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
Wrap Subsidiary Aside « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Wrap Subsidiary Aside

(2 posts)
  • Started 4 years ago by cannobbio
  • Latest reply from yitwail
  • This topic is not resolved

Tags:

  1. cannobbio
    Member

    I'm trying to wrap the subsidiary aside with a div with this function:

    // Subsidiary Asides Wrapper
    function subasides_start() { ?>
    <div id="subasides-wrapper">
    <?php }
    add_action ('thematic_abovesubasides','subasides_start');

    function subasides_end() { ?>
    </div><!-- #subasides-wrapper -->
    <?php }
    add_action ('thematic_belowsubasides','subasides_end');

    What am I missing? I cant hook anything in thematic_abovesubasides or thematic_belowsubasides.

    Thanx in advance!

    Posted 4 years ago #
  2. yitwail
    Member

    This is an old topic, but you can put something like this in functions.php:

    // implement missing hook
    function add_abovesubasides() {
        if ( is_active_sidebar('1st-subsidiary-aside') ||
             is_active_sidebar('2nd-subsidiary-aside') ||
             is_active_sidebar('3rd-subsidiary-aside') )
        { // one of the subsidiary asides has a widget
            thematic_abovesubasides();
        }
    }
    add_action('widget_area_subsidiaries', 'add_abovesubasides', 9);

    although library/extensions/sidebar-extensions.php should have this built in already.

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183