Changeset 691102
- Timestamp:
- 04/03/2013 11:02:50 AM (13 years ago)
- Location:
- automatic-footer-copyright/trunk
- Files:
-
- 2 edited
-
AutoFooterCopyright.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
automatic-footer-copyright/trunk/AutoFooterCopyright.php
r690662 r691102 6 6 Author: Ishan Sharma 7 7 Author URI: http://ishansharma.com 8 Version: 1. 08 Version: 1.1 9 9 License: GPL2 10 10 */ … … 29 29 if ($current_year == $first_post_year) 30 30 { 31 $copy_text = sprintf(" Copyright© %s <a href = \"%s\">%s</a>", $current_year, get_bloginfo('url'), get_bloginfo('name'));31 $copy_text = sprintf("© %s <a href = \"%s\">%s</a>", $current_year, get_bloginfo('url'), get_bloginfo('name')); 32 32 } 33 33 else 34 34 { 35 $copy_text = sprintf(" Copyright© %s-%s <a href = \"%s\">%s</a>", $first_post_year, $current_year,get_bloginfo('url'), get_bloginfo('name'));35 $copy_text = sprintf("© %s-%s <a href = \"%s\">%s</a>", $first_post_year, $current_year,get_bloginfo('url'), get_bloginfo('name')); 36 36 } 37 37 return "<div class = \"creds\">$copy_text</div>"; -
automatic-footer-copyright/trunk/readme.txt
r690662 r691102 4 4 Requires at least: 3.0.1 5 5 Tested up to: 3.5.1 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 This plugin adds automatic copyright information in footer of Genesis. It also removes link to Genesis and WordPress. The format is Copyright ©first-post-year - current-year your-blog-name.14 This plugin adds automatic copyright information in footer of Genesis. It also removes link to Genesis and WordPress. The format is © first-post-year - current-year your-blog-name. 15 15 16 16 If year of first post is same as current year, it will display only current year. … … 36 36 1. Copyright Information when first post year and current year are same. 37 37 2. Copyright Infromation when first post year and current year are different. 38 39 == Changelog == 40 Minor Update: Fixed a small error with notice. Now, only copyright symbol is displayed.
Note: See TracChangeset
for help on using the changeset viewer.