• Hi all,

    So I’ve been having this issue for quite a while and it’s driving me nuts! As you might be able to tell, my website is a dental website. For us to be compliant with certain medical authorities, we have to display when the website was last updated. I had a temporary solution of some code that I placed in the footer.php, this changed the date everyday though, so not ideal. I’ve just updated to the latest Bento theme which has removed the code, so I thought I’d find out if anyone has a solution? I’m going to see if I can find some different code or plugins.

    Any help is greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author satoristudio

    (@satoristudio)

    Hello @psdental,

    thanks for choosing Bento!

    I highly recommend doing all template modifications via a child theme, as they’d keep getting overwritten with each theme update otherwise; regarding the code itself, you can try using the php date() function which outputs the current date automatically, e.g.
    <?php echo 'Last updated '.date('d m Y'); ?>

    • This reply was modified 6 years, 9 months ago by satoristudio.
Viewing 1 replies (of 1 total)
  • The topic ‘A Last Updated Footer Solution’ is closed to new replies.