%s', get_comment_author_link()) ?>
','') ?>
comment_approved == '0') : ?>
$depth, 'max_depth' => $args['max_depth']))) ?>
100, 'width' => 200, 'flex-height' => true, 'flex-width' => true, ) ); } add_action( 'after_setup_theme', 'wpbo_theme_settings_functions', 11 ); /**** THEME BLOCKS ***/ function wpbo_preheader() { ?> class="no-js"> 'sidebar1', 'name' => __('Main Sidebar','wpbo'), 'before_widget' => '
', 'before_title' => '';
switch($field['type']) {
// text
case 'text':
echo '
'.$field['desc'].''; break; // textarea case 'textarea': echo ' '.$field['desc'].''; break; } //end switch echo ' |
', $content, 1); } add_filter( 'the_content', 'wpbo_first_paragraph' ); } // Menu output mods class Bootstrap_walker extends Walker_Nav_Menu{ function start_el(&$output, $object, $depth = 0, $args = Array(), $current_object_id = 0){ global $wp_query; $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; $class_names = $value = ''; // If the item has children, add the dropdown class for bootstrap if ( $args->has_children ) { $class_names = "dropdown "; } $classes = empty( $object->classes ) ? array() : (array) $object->classes; $class_names .= join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $object ) ); $class_names = ' class="'. esc_attr( $class_names ) . '"'; $output .= $indent . '