Found this plugin:
https://wordpress.org/plugins/site-last-modified/
This shortcode does right what I need:
<?php site_last_modified( “Y-m-d H:i:s” );?>
Please any advice, I would just replace the Top Menu(black one) date with it (site last modified). Howto ?
I attempted so far with some mods, but they were not successfull.
Thanks for the attention.
Regards
Hallo Alin, great!
To whom it may concerns:
<div class=”span9″>
<div class=”td_data_time”>Aggiornato a:
<?php site_last_modified( ‘l, j F Y – H:i’) ?> </div>
Now I have this italian sequence:
Aggiornato a: martedì, 14 aprile 2015 – 10:41
I would be really happy if I could color the time reference (10:41) in Red.
Thanks for your precious attention.
Regards
Hallo Lucian,
thanks once again.
the url is http://lesuberante.it
I added this code in menu-top.php
<div class=”span9″>
<div class=”td_data_time”>Aggiornato a <?php site_last_modified( ‘ l,j F Y ‘) ?> </div> <div class=”td_data_time2″> ore <?php site_last_modified( ‘ – H:i’)?> </div>
As you can see hour:sec is displayed below the line. Only hour/min reference must be in red. I was unable to put them together in sequence so far.
Thanks Lucian
