Exemplo n.º 1
0
function bauhaus_should_show_comment_bubbles()
{
    $settings = bauhaus_get_settings();
    if ($settings->bauhaus_show_comment_bubbles) {
        return true;
    } else {
        return false;
    }
}
function bauhaus_if_infinite_scroll_enabled()
{
    $settings = bauhaus_get_settings();
    if ($settings->bauhaus_use_infinite_scroll) {
        foundation_add_theme_support('infinite-scroll');
    }
}
Exemplo n.º 3
0
function bauhaus_if_off_canvas_enabled()
{
    $settings = bauhaus_get_settings();
    if ($settings->bauhaus_menu_style == 'off-canvas') {
        foundation_add_theme_support('pushit');
    }
}