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
added sidebars to home.php but I think I did it wrong « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

added sidebars to home.php but I think I did it wrong

(4 posts)
  • Started 4 years ago by farout
  • Latest reply from farout
  • This topic is resolved
  1. farout
    Member

    How do I add sidebars to home.php in my child theme?

    I created a child theme. All the pages, single, search,etc all have the left and right sidebars per the excellent Thematic layout: 3c-fixed!

    </div><!-- #content -->

    <?php thematic_belowcontent();
    dynamic_sidebar('primary-aside');
    dynamic_sidebar('secondary-aside');
    ?>

    But that has all the wrong css.

    What am I doing wrong?

    Posted 4 years ago #
  2. farout
    Member

    <?php thematic_belowcontent();
    thematic_primary_aside();
    thematic_secondary_aside();
    ?>

    But where do I make the primary and secondary areas active?

    Posted 4 years ago #
  3. farout
    Member

    aso tried:
    function childtheme_secondary_aside() {
    if (is_page()) {
    if (is_sidebar_active('secondary-aside')) {
    echo thematic_before_widget_area('secondary-aside');
    dynamic_sidebar('secondary-aside');
    echo thematic_after_widget_area('secondary-aside');
    }
    }
    }
    .. and then .. without removing an action or so:

    function change_secondary_aside($content) {
    $content['Secondary Aside']['function'] = 'childtheme_secondary_aside';
    return $content;
    }
    add_filter('thematic_widgetized_areas','change_secondary_aside');

    nothing

    Posted 4 years ago #
  4. farout
    Member

    Resolved:

    I changed the home page to:
    </div><!-- #container -->

    <?php

    // action hook for placing content below #container
    thematic_belowcontainer();
    get_sidebar();
    // calling the standard sidebar
    //thematic_sidebar();

    // calling footer.php
    get_footer();

    ?>

    and now I see the sidebar - Thank you firebug!!

    I am sure I am still doing it wrong - but after 10 hours - it will do.

    Posted 4 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