Skip to content

Official Creative Commons plugin for licensing your content. With Creative Commons licenses, keep your copyright AND share your creativity.

License

Notifications You must be signed in to change notification settings

Golden007Credentials/wp-plugin-creativecommons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

creativecommons-wordpress-plugin

Creative Commons plugin for WordPress

This is a WordPress plugin to assist you to choose a Creative Commons license for your blog or website.

Download the latest version from this projects releases.

Features

The plugin allows you to license WordPress content such as posts and pages as well as image files. You can:

  • License your blog (single WordPress install)
  • License your WordPress Network (WordPress Multisite install)
  • License some of your sites differently in your WordPress Network
  • License all your content with the same license (license per author)
  • License some posts, pages or images differently from your default license (per content license)
  • Prevent license changes in your WordPress Network (all pages on all sites need to use the same license)
  • Prevent license changes per site (all pages on a site must use the same license)
  • Display license for the site, posts and pages.
  • Display license information with "One Click Attribution" for images

Possible future features

Here's a list of some features we'd love to add to this plugin or support in a separate (child) plugin. If you'd like these or other features to be implemented you may consider supporting this plugin with code contributions, testing or funding Creative Commons for further development.

  • Allow more kinds of media files to be licensed
  • Extract license information from more kinds of media files
  • Allow to search (using external search engines) for specific Creative Commons licensed media files

Code of Conduct

CODE_OF_CONDUCT.md:

The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to [email protected] per our reporting guidelines.

Installation

  1. Upload the "creativecommons-wordpress-plugin" folder to the "/wp-content/plugins/" directory
  2. Activate the plugin through the "Plugins" menu in WordPress
  3. From the Widgets menu, drag the License widget to the widget area in which you would like the license to appear. Otherwise, the license for each page or post will appear in the Wordpress footer area by default.

Usage

The default license used by the plugin is the Creative Commons Attribution-ShareAlike (CC BY-SA) license. This can be easily changed, including attribution, depending on the permissions by a user with the role: superadmin, site admin or author.

Choose A Site License

Site license chooser

To choose a site-wide license, go to the "Creative Commons" option in the "Settings" item on the left hand menu in the WordPress admin site.

Be careful when changing these options, they may affect existing published work.

Choose An Author License

Author license chooser

When changing an individual author's license is enabled, the option to do so is included on the Users Profile page for that author.

You can change the license ("Select a default license") or the attribution ("Set attribution to").

Choose A Post Or Page License

Post edit page with license chooser

If changing the license on individual posts and pages is enabled, the option to do so is included in the editor on the right hand side of the page under the heading "Licensed:".

You can change the license or the attribution.

Remember to save the post or page after you change its license.

Choose An Image License

Media item license metadata editor

In the "Attachment Details" page for an image in the Media Library, there are fields to edit license and attribution information underneath the usual Title, Caption and other fields for the image.

Images that support Exif data may include licensing metadata. Where possible the plugin extracts that metadata and uses it to pre-populate the license information fields.

Display An Image License

If you place a [license] shortcode around an image that has licensing metadata, that will display the license block and the One Click Attribution button:

Image with license block

[license]<img src="https://localhost/wp-content/uploads/2016/12/tree_test-1-300x188.jpg" alt="" width="300" height="188" class="size-medium wp-image-10" />[/license]

Contributing

See CONTRIBUTING.md.

Development

If you're interested in the code have a look at the master branch for the releases. Development will be done in the development branch.

Occasionally other branches may be available to test new features or play with new ideas, but they may be deleted anytime so don't rely on those branches.

History

This plugin is loosely based on an existing, but seemingly abandoned WordPress plugin named 'License' (a component of the MIT Educational Collaboration Space project) by mitcho (Michael Yoshitaka Erlewine) and Brett Mellor. We're also inspired by Creative Commons' original wordpress-cc-plugin written by former Creative Commons CTO Nathan Yergler.

Credits

  • Michael Yoshitaka Erlewine (License v0.5)
  • Brett Mellor (License v0.5)
  • Bjorn Wijers
  • Matt Lee
  • Rob Myers
  • Tarmo Toikkanen

About

Official Creative Commons plugin for licensing your content. With Creative Commons licenses, keep your copyright AND share your creativity.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 60.6%
  • JavaScript 30.7%
  • CSS 6.3%
  • Shell 2.4%