Files
sage/inc/roots-actions.php
2011-05-26 00:27:06 -06:00

34 lines
832 B
PHP

<?php
add_action('roots_header_before', 'roots_1140_header_before');
add_action('roots_header_after', 'roots_1140_header_after');
add_action('roots_footer_before', 'roots_1140_footer_before');
add_action('roots_footer_after', 'roots_1140_footer_after');
function roots_1140_header_before() {
if (get_option('roots_css_framework') === '1140') {
echo "<div class=\"row\">";
}
}
function roots_1140_header_after() {
if (get_option('roots_css_framework') === '1140') {
echo "</div><!-- /.row -->";
echo "<div class=\"row\">";
}
}
function roots_1140_footer_before() {
if (get_option('roots_css_framework') === '1140') {
echo "</div><!-- /.row -->";
echo "<div class=\"row\">";
}
}
function roots_1140_footer_after() {
if (get_option('roots_css_framework') === '1140') {
echo "</div><!-- /.row -->";
}
}
?>