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
Gracfull way to insert div's with functions.php « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Gracfull way to insert div's with functions.php

(1 post)
  • Started 5 years ago by gaillen
  • This topic is not resolved
  1. gaillen
    Member

    This example works in my child theme functions.php to insert a 2nd wrapper div around the #header div. It just seems chunky (in the functions.php, the html output is good :) and I am hopping someone might have an idea how to simplify this with the same effect.

    // Starts the second wrapper div outside the header
    function start_wrapper_header_2() { ?>
    <div id="wrapper_header_2">
    <?php
    }
    add_action('thematic_aboveheader', 'start_wrapper_header_2');
    
    // Ends the second wrapper div outside the header
    function end_wrapper_header_2() { ?>
    </div>
    <?php
    }
    add_action('thematic_belowheader', 'end_wrapper_header_2');

    As well as the header I will be adding extra wrapper div's to "thematic_abovecontainer" "thematic_belowcontainer" and "_abovemainasides" "_belowmainasides" and possibly the footer area as well.

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