retlehs/roots — Issue #202: Need to hook between container divs but cannot!
Author: leoj3n
Created: 2011-12-29 03:09:05+00:00
State: open

So for example in roots-actions.php there's a function called roots_1140_footer_before():

```function roots_1140_footer_before() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo "

\n";
echo '

', "\n";
}
}```

which hooks into roots_footer_before to close the previous row/container divs and open a new set of container/row divs. But what if someone wants to insert markup between the closing and opening container/row divs?

For now I'm overriding the function roots_1140_footer_before() but it should really have a hook between the closing and opening echo statements... In my override everything is the same except I add an action hook named "roots_1140_footer_between" between the first and second echo statements:

```function roots_1140_footer_before() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo "

\n";
do_action( 'roots_1140_footer_between' );
echo '

', "\n";
}
}```