Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function catch_vogue_blog_entry_meta_left() {
- // Hide category and tag text for pages.
- if ( 'post' === get_post_type() ) {
- /* translators: used between list items, there is a space after the comma */
- $tags_list = get_the_tag_list();
- if ( $tags_list ) {
- /* translators: 1: list of tags. */
- printf( '<span class="tags-links">%1$s%2$s</span>',
- sprintf( _x( '<span class="tags-text screen-reader-text">Tags</span>', 'Used before tag names.', 'catch-vogue' ) ),
- $tags_list
- ); // WPCS: XSS OK.
- }
- }
- }
- function catch_vogue_blog_entry_meta_right() {
- // Hide category and tag text for pages.
- if ( 'post' === get_post_type() ) {
- $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
- if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
- $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
- }
- $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() )
- );
- printf(
- /* translators: %s: post date */
- __( '<span class="posted-on"><span class="date-label"> </span>%s', 'catch-vogue' ),
- '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a></span>'
- );
- }
- /*edit_post_link(
- sprintf(
- wp_kses(*/
- /* translators: %s: Name of current post. Only visible to screen readers */
- /*__( 'Edit <span class="screen-reader-text">%s</span>', 'catch-vogue' ),
- array(
- 'span' => array(
- 'class' => array(),
- ),
- )
- ),
- get_the_title()
- ),
- '<span class="edit-link screen-reader-text">',
- '</span>'
- );*/
- }
Advertisement
Add Comment
Please, Sign In to add comment