"; else: $logo_tag['open'] = "

"; $date = sprintf( ' ', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); $author = sprintf( '', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'north-east' ), get_the_author() ) ), get_the_author() ); $comment_number = get_comments_number(); $comment_number = sprintf( _n( '1 Comment', '%s Comments', $comment_number, 'north-east' ), $comment_number ); $comment_number = sprintf( ' %2$s', get_comments_link(), $comment_number ); // Translators: used between list items, there is a space after the comma. $tag_list = ' '. get_the_tag_list( '', __( ', ', 'north-east' ) ). ''; $utility_text = __( ' %1$s %3$s %4$s %5$s %2$s ', 'north-east' ); // Translators: 1 is category, 2 is tag, 3 is the date, 4 is the author's name and 5 is comments. echo $categories_list ; echo $date ; echo $author ; echo $comment_number ; echo $tag_list ; } endif; if ( ! function_exists( 'northeast_navthemes_comment' ) ) : /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. */ function northeast_navthemes_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
  • id="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', 'north-east' ) . '' : '' ); ?>

    ', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s', 'north-east' ), get_comment_date(), get_comment_time() ) ); ?> comment_approved ) : ?>

    ', '

    ' ); ?>

    __( 'Reply', 'north-east' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  • '; // tag before the current crumb $after = ''; // tag after the current crumb echo ''; } /* ----------------------------------------------------------------------------------- */ /* Add Footer /* ----------------------------------------------------------------------------------- */ if ( ! function_exists( 'northeast_footer' ) ) : function northeast_footer(){ echo '
    '; } endif; add_action('wp_footer','northeast_footer'); /* ----------------------------------------------------------------------------------- */ /* Pagination /* ----------------------------------------------------------------------------------- */ if ( ! function_exists( 'northeast_number_post_nav' ) ) : function northeast_number_post_nav() { if( is_singular() ) return; global $wp_query; /** Stop execution if there's only 1 page */ if( $wp_query->max_num_pages <= 1 ) return; $paged = get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1; $max = intval( $wp_query->max_num_pages ); /** Add current page to the array */ if ( $paged >= 1 ) $links[] = $paged; /** Add the pages around the current page to the array */ if ( $paged >= 3 ) { $links[] = $paged - 1; $links[] = $paged - 2; } if ( ( $paged + 2 ) <= $max ) { $links[] = $paged + 2; $links[] = $paged + 1; } echo '
    ' . "\n"; echo '
    '; } endif; if ( ! function_exists( 'northeast_navthemes_post_thumbnail' ) ) : /** * Display an optional post thumbnail. * * Wraps the post thumbnail in an anchor element on index views, or a div * element when on single views. * */ function northeast_navthemes_post_thumbnail($image = null ) { if ( post_password_required() || is_attachment() ) { return; } if(has_post_thumbnail()): if ( is_singular() && $image == null) : ?>
    ' . $args->link_before . $item->title, ' itemprop="url" >' . $args->link_before. '' . $item->title . '', $item_output ); return $item_output; } add_filter( 'walker_nav_menu_start_el', 'northeast_nav_description', 10, 4 );