'; } add_action( 'bittersweet_meta_entry_header', 'bittersweet_meta_entry_header_markup_open', 1 ); // posted on - post date if ( ! function_exists( 'bittersweet_posted_on' ) ) : function bittersweet_posted_on() { printf( __( ' ', 'bitter-sweet' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); } add_action( 'bittersweet_meta_entry_header', 'bittersweet_posted_on', 2 ); endif; // posted by - post author if ( ! function_exists( 'bittersweet_post_author' ) ) : function bittersweet_post_author() { printf( __( ' ', 'bitter-sweet' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'bitter-sweet' ), get_the_author() ) ), esc_html( get_the_author() ) ); } add_action( 'bittersweet_meta_entry_header', 'bittersweet_post_author', 3 ); endif; // comment link if ( ! function_exists( 'bittersweet_post_comments_link' ) ): function bittersweet_post_comments_link() { if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) { ?> '; } add_action( 'bittersweet_meta_entry_header', 'bittersweet_meta_entry_header_markup_close', 5 ); // opening of entry footer markup function bittersweet_meta_entry_footer_markup_open() { echo ''; } add_action( 'bittersweet_meta_entry_footer', 'bittersweet_meta_entry_footer_markup_close', 4 ); // opening of entry header markup function bittersweet_home_blog_meta_markup_open() { echo '
'; } add_action( 'bittersweet_home_blog_meta', 'bittersweet_home_blog_meta_markup_open', 1 ); // posted on - post date if ( ! function_exists( 'bittersweet_home_blog_date' ) ) : function bittersweet_home_blog_date() { printf( __( ' ', 'bitter-sweet' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); } add_action( 'bittersweet_home_blog_meta', 'bittersweet_home_blog_date', 2 ); endif; // comment link if ( ! function_exists( 'bittersweet_home_blog_comments' ) ): function bittersweet_home_blog_comments() { if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) { ?> '; } add_action( 'bittersweet_home_blog_meta', 'bittersweet_home_blog_markup_close', 4 ); // WIDGET POST DATE AND COMMENTS // posted on - post date if ( ! function_exists( 'bittersweet_recent_widget_date' ) ) : function bittersweet_recent_widget_date() { printf( __( ' ', 'bitter-sweet' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); } add_action( 'bittersweet_recent_post_widget_meta', 'bittersweet_recent_widget_date', 2 ); endif; // comment link if ( ! function_exists( 'bittersweet_recent_widget_comments' ) ): function bittersweet_recent_widget_comments() { if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) { ?>