Support » Theme: Decode » Dates appearing twice

  • Resolved psheld

    (@psheld)


    On upgrading to Decode 3.0.2 each post had two dates displayed for it: published and last updated.

    Solved for now by commenting out the offending line in inc/template-tags.php, if only because I don’t know where the ‘U’ is set:

    function decode_posted_on() {
    	if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
    		$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
    /*		$time_string .= '<time class="updated" datetime="%3$s">%4$s</time>'; */
    	} else {
    		$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
    	}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dates appearing twice’ is closed to new replies.