'primary', 'name' => __( 'Primary','breann' ), 'description' => __( 'This sidebar will show on all pages, except your home/front page.','breann' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); register_sidebar( array( 'id' => 'contact', 'name' => __( 'Contact Page','breann' ), 'description' => __( 'Using the contact page template, this sidebar will show only on that page.','breann' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); } function my_register_nav_menus(){ register_nav_menus( array( 'header-menu' => __('Header Menu','breann') ) ); } function my_register_script(){ wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js', array(), '1.9.1', false); wp_enqueue_script('jquery'); wp_register_script('modernizr', get_template_directory_uri() . '/js/modernizr-2.6.2.js', array(), '2.6.2', false); wp_enqueue_script('modernizr'); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } /* ----- Grab and Show the Post Thumbnail Caption ----- */ function the_post_thumbnail_caption() { global $post; $thumbnail_id = get_post_thumbnail_id($post->ID); $thumbnail_image = get_posts(array('p' => $thumbnail_id, 'post_type' => 'attachment')); if ($thumbnail_image && isset($thumbnail_image[0])) { echo ''.$thumbnail_image[0]->post_excerpt.''; } } function do_not_remove(){ echo '| Design by Mike Johnson Design'; } // Replaces the excerpt "more" text by a link function new_excerpt_more($more) { global $post; return ' » continue reading...'; } add_filter('excerpt_more', 'new_excerpt_more'); function add_script_select_navigation(){ $select_nav = ''; echo $select_nav; } // Toggle certain options - options framework add_action('optionsframework_custom_scripts', 'optionsframework_custom_scripts'); function optionsframework_custom_scripts() { ?> comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
  • id="comment-">

    ', '' ); ?>

  • id="li-comment-">
    %1$s %2$s', get_comment_author_link(), // If current post author is also comment author, make it known visually. ( $comment->user_id === $post->post_author ) ? ' ' . __( 'Post author', 'breann' ) . '' : '' ); printf( '', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s', 'breann' ), get_comment_date(), get_comment_time() ) ); ?>
    comment_approved ) : ?>

    ', '

    ' ); ?>
    __( 'Reply', 'breann' ), 'after' => ' ', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>