__( 'Right Sidebar', 'bubblewrap' ), 'id' => __( 'right-sidebar', 'bubblewrap' ), 'description' => __( 'Widgets in this area will be shown on the right-hand side.', 'bubblewrap' ), 'before_title' => '

', 'after_title' => '

' ) ); } add_action( 'widgets_init', 'bubblewrap_widgets_init' ); function bubblewrap_scripts() { if ( is_singular() && get_option( 'thread_comments' ) && comments_open() ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'bubblewrap_scripts'); if ( ! function_exists( 'bubblewrap_wp_nav_menu' ) ) : function bubblewrap_wp_nav_menu() { return wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'items_wrap' => '', 'echo' => 0, 'depth' => 0 ) ); } endif; function bubblewrap_page_menu_args( $args ) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'bubblewrap_page_menu_args' ); if ( ! function_exists( 'bubblewrap_comment' ) ) : function bubblewrap_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="li-comment-">
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); if ( $reply_link ) : ?>
    ' . get_the_author() . ''); ?>