Post date displayed double using Underscores Components Theme Starter
-
Hello there guys. I’m building a custom theme using Underscores Components. After posting a content to start designing the layout, the post date displayed double like this:
I checked the template tags that handle the post date, and here’s what I found:
$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() ) );which one should I delete and which one should stay?
Thank you very much before.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Post date displayed double using Underscores Components Theme Starter’ is closed to new replies.