What is the proper way to reformat this PHP statement to say “Copyright © 2013 My Company. All rights reserved.” (without quotes)?
<?php _e('All Rights Reserved', 'mycompany'); ?> <a href="/">My Company</a> © <?php echo date('Y');?>
As of right now, the above statement echoes “All Rights Reserved My Company © 2013”.
If you’re working in WordPress, this solution utilizes the Internationalization feature (unt-tested, please let me know if this doesn’t work at expected!):
Otherwise a straight up PHP solution is: