Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter cfietta

    (@cfietta)

    Thanks for your answer. Unfortunately, the Zerif Lite Them doesn’t seem to work the same way.

    THe only mention I found about the_time was in this part of the code in the template-tags.php page. There is the part about author too there:

    $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
    
    	if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
    
    		$time_string .= '<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( __( '<span class="posted-on">Posted on %1$s</span><span class="byline"> by %2$s</span>', 'zerif-lite' ),
    
    		sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
    
    			esc_url( get_permalink() ),
    
    			$time_string
    
    		),
    
    		sprintf( '<span class="post-author vcard" itemscope='itemscope'  itemtype='http://schema.org/Person'><a class="url fn n" href="%1$s">%2$s</a></span>',
    
    			esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    
    			esc_html( get_the_author() )
    
    		)
    
    	);
Viewing 1 replies (of 1 total)