%2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); $posted_on = $time_string; $byline = '' . esc_html( get_the_author() ) . ''; echo ' ' . $posted_on . ''; /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list( '#', ' #', '' ); if ( $tags_list ) { echo ''; } } } } if ( ! function_exists( 'billie_entry_footer' ) ) { /** * Prints HTML with meta information for the categories, tags and comments. */ function billie_entry_footer() { if ( ! get_theme_mod( 'billie_hide_meta' ) ) { echo '
'; } } } // End if(). if ( ! function_exists( 'billie_portfolio_footer' ) ) { /** * Prints HTML with meta information for the categories, tags and comments. */ function billie_portfolio_footer() { if ( ! get_theme_mod( 'billie_hide_meta' ) ) { echo ''; } } } /* Excerpts */ function billie_excerpt_more( $more ) { if ( ! is_admin() ) { global $id; return '… ' . billie_continue_reading( $id ); } else { return $more; } } add_filter( 'excerpt_more', 'billie_excerpt_more', 100 ); function billie_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { global $id; $output .= ' ' . billie_continue_reading( $id ); // insert a blank space. } return $output; } add_filter( 'get_the_excerpt', 'billie_custom_excerpt_more', 100 ); function billie_continue_reading( $id ) { return '' . sprintf( __( 'Continue Reading %s', 'billie' ), get_the_title( $id ) ) . ''; } /** * Add a pingback url auto-discovery header for single posts, pages, or attachments. */ function billie_pingback_header() { if ( is_singular() && pings_open() ) { echo ''; } } add_action( 'wp_head', 'billie_pingback_header' );