Use current year in disclaimer
-
Hi, I would like to show the current year in the disclaimer, without having to update it myself every year. I checked on github (here) and I think there is way but I couldn’t make it work:
case 'disclaimer': default_template = '<?php echo js_escape(sprintf(__('Copyright © %s %s. All rights reserved.', 'wp-print'), date('Y'), get_option('blogname'))); ?>'; break;
I tried to add ‘date(‘Y’)’ on the Disclaimer/Copyright Text filed on config page of the plugin but it doesn’t work. Any idea how I could make it work? Thanks a lot for your help! ??
- The topic ‘Use current year in disclaimer’ is closed to new replies.