Your theme appears to add the date and time twice, once for the published date, and once for the updated date:
<time class="entry-date published" datetime="2016-07-28T14:05:38+00:00">July 28, 2016</time>
<time class="updated" datetime="2016-07-28T14:07:03+00:00">July 28, 2016</time>
While the updated date is hidden with CSS, AddThis appears to ignore this. Looking at your theme (ColorNews, it appears), the date function is pluggable. So you add this to a Child Theme, the issue should be resolved:
function coloews_published_date() {
$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_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"><a href="%1$s" title="%2$s" rel="bookmark">%3$s</a></span>', 'coloews' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
$time_string
);
}
(This is a copy of the original function, I just removed the HTML for the updated date).
WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 325
تاريخ: جمعه
8 مرداد
1395 ساعت: 16:38