Hi
It is present in functions.php below code
function twentytwelve_entry_meta()
—-
$date = sprint
( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
);
printf(
$utility_text,
$categories_list,
$tag_list,
$date,
$author
);
You can change to required fields in printf (above)
In above $date displays date
Thanks
Murali
Thread Starter
l.p.2
(@lp2)
Hi thanks for you help,
I’ve gone through the functions php and I can’t see any of the above – I did a cntrl + F to look for the terms within the code just to be sure – and it’s just not in there.
It’s possible the person who maintained the site before me edited the code – but perhaps doesn’t explain why the dates still appear!
Please check the function twentytwelve_entry_meta() is present in content.php
<footer class="entry-meta">
<?php twentytwelve_entry_meta(); ?>
this content.php is invoked by single.php (which is template for post).
Or view your html source, get the divider tag appear before date and you can search for divider tag string in entire theme folder (using Microsoft web matrix or some other tool by copying twenty tweleve theme to web matrix folder)
Or you can download fresh version of this theme to your pc and compare the code changes in content.php between your theme and original twenty twelve theme from wordpress site.
Thread Starter
l.p.2
(@lp2)
The theme entry meta was missing. The theme looks to be quite heavily edited.
Thanks for your help!