', 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', 'abulogics' ), get_the_author() ) ), get_the_author() ); $comment_number = get_comments_number(); $comment_number = sprintf( _n( '1 Comment', '%s Comments', $comment_number, 'abulogics' ), $comment_number ); $comment_number = sprintf( ' %2$s', get_comments_link(), $comment_number ); $utility_text = __( ' %1$s %3$s %4$s %5$s %2$s ', 'abulogics' ); echo $date ; echo $author ; echo $comment_number ; } endif; if ( ! function_exists( 'abulogics_entry_meta_footer' ) ) : /** * Set up post entry meta. * * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * * Create your own twentytwelve_entry_meta() to override in a child theme. * * @since NavThemes 1.0 */ function abulogics_entry_meta_footer() { // Translators: used between list items, there is a space after the comma. $categories_list = ''. get_the_category_list( __( ', ', 'abulogics' ) ) . ""; // Translators: used between list items, there is a space after the comma. $tag_list = ' '. get_the_tag_list( '', __( ', ', 'abulogics' ) ). ''; echo $categories_list ; echo $tag_list ; } endif; /* ----------------------------------------------------------------------------------- */ /* Comment /* ----------------------------------------------------------------------------------- */ if ( ! function_exists( 'abulogics_comment' ) ) : /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. * */ function abulogics_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', 'abulogics' ) . '' : '' ); ?>

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

    ', '

    ' ); ?>

    __( 'Reply', 'abulogics' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  • 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"; } // Get Words from a string function get_words($content,$word_count=10,$suffix=''){ $pieces = explode(" ", $content); echo $first_part = implode(" ", array_splice($pieces, 0, $word_count)) . $suffix ; } /* ----------------------------------------------------------------------------------- */ /* Post Thumbnail /* ----------------------------------------------------------------------------------- */ if ( ! function_exists( 'abulogics_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 abulogics_post_thumbnail($image=null) { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { return; } 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', 'abulogics_nav_description', 10, 4 );