Thanks for this. Can you give me a bit more help with the php code, please? If I want to add the year, do I change this:
$published = ‘<span class=”published”><abbr title=”‘ . sprintf(get_the_time(esc_attr__(‘l, F, Y, g:i a’, ‘mo_theme’))) . ‘”><span class=”month”>’ . sprintf(get_the_time(‘M’)) . ‘</span><span class=”date updated”>’ . sprintf(get_the_time(‘d’)) . ‘</span></span></abbr></span>’;
to this:
$published = ‘<span class=”published”><abbr title=”‘ . sprintf(get_the_time(esc_attr__(‘l, F, Y, g:i a’, ‘mo_theme’))) . ‘”><span class=”month”>’ . sprintf(get_the_time(‘M’)) . ‘</span><span class=”date updated”>’ . sprintf(get_the_time(‘d’)) . ‘<span class=”year”>’ . sprintf(get_the_time(‘Y’)) . ‘</span></span></abbr></span>’;