sql 更改时间的年份
After the new year, hardly anyone remembers to change the copyright year in their website’s footer. It is especially difficult to those people who have a lot of sites. So, I have decided to write this short article showing how to change the copyright © year in the site footer. In general, I have automated this process to make it easier for beginners and multiple website owners…
新年过后,几乎没人记得在网站的页脚中更改版权年度。 对于拥有很多站点的人来说尤其困难。 因此,我决定写这篇简短的文章,展示如何在网站页脚中更改版权©year 。 总的来说,我已经自动执行了此过程,以使初学者和多个网站所有者可以更轻松地进行…
For you to be able to easily manage the change in the copyright year on your website/blog, you must edit the file footer.php (File of your template) instead of the year, with a simple register php code:
为了能够轻松管理网站/博客上版权年度的更改,必须使用简单的注册php代码编辑footer.php文件(模板文件)而不是年份:
<? Php echo date (‘Y’);?>
<? PHP回显日期('Y');?>
For example, the copyright looks like this:
例如,版权如下:
Copyright © 2011 – <? Php echo date (‘Y’);?> eUKhost LTD. All rights reserved.
版权所有©2011 – <? PHP回显日期('Y');?> eUKhost LTD。 版权所有。
Doing this work once, you can forget all about changing the year every time on your site!
只需完成一次这项工作,您就可以忘记每次在网站上更改年份的一切!
翻译自: https://www.eukhost.com/blog/webhosting/automatic-change-of-copyright-year-on-your-website-blog/
sql 更改时间的年份