Copyright Plugin v1.1 for WordPress

The Copyright Plugin automatically keeps your WordPress page copyright notices up to date. It insures that the copyright notice for each page (be it a single page or an index) includes the earliest date of publication as well as the current date.

The Copyright Plugin was written by Paton J. Lewis at Symbolcraft.

Compatibility

Copyright Plugin 1.1 for WordPress has been tested with WordPress 2.0.10. If you have success using this plugin with another version of WordPress, please let me know. The previous version of the Copyright Plugin for WordPress has been tested successully with WordPress 2.0.6, 2.0.9, 2.0.10, and 2.1.2.

License

Copyright © 2007 Paton J. Lewis <pjl@symbolcraft.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Installation

  1. Download and open the archive copyright.zip
  2. Upload copyright.php to your WordPress plugins folder
  3. If you do not use English as your primary language, and your localization is supported, also upload the .mo file for your locale. For example, if you want to use the Italian language localization of the plugin, also upload copyright-it_IT.mo.
  4. Edit your template and insert the following code where you want the copyright notice to appear (probably the footer):
  5. <?php
    if( function_exists( 'pjlCopyrightGet' ) )
      echo pjlCopyrightGet();
    ?>
    
  6. Edit your template files index.php and archive.php and insert the following code inside each post loop, after each call to the_content():
  7. <?php
    if( function_exists( 'pjlCopyrightMin' ) )
      pjlCopyrightMin();
    ?>
    
  8. In your WordPress Plugins control panel page, activate the Copyright plugin.
  9. (Optional) In your WordPress Options menu you should see an options page for the Copyright plugin. By default the copyright text includes your blog name; you may want to change this.
  10. (Optional) If you have external static pages not maintained in the WordPress database, you may add the following line before you call the code that displays your copyright in order to set the start date for the copyright. For example:
  11. <?php $page_copyright_start_date = "1996"; ?>
    

Links

Revision History

1.1: May 13, 2007

1.0: April 2, 2007

0.9 beta: March 3, 2007