• Stars
    star
    143
  • Rank 255,529 (Top 6 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created about 10 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

CC WordPress Plugin

Official Creative Commons plugin for licensing your content on your WordPress website. With Creative Commons licenses, keep your copyright and share your creativity.

PRs Welcome License: GPL v2 CalVer Format: YYYY.0M.Micro

All Contributors

Description

The plugin is an attribution tool. It has multiple features that allow users to attribute their content by including Creative Commons license (Choose a License) on their WordPress website. This includes default, post, page and media attribution.

Installation

Download the latest version from this project's releases. You can install the plugin to your WP website using any of these methods:

  1. In your plugin Dashboard on WordPress, Click Add New and upload the plugin .zip file. When installed, activate the plugin.
  2. Extract the .zip file and paste the extracted folder to the "/wp-content/plugins/" directory. Go to your plugin Dashboard and activate the plugin.

Features

Setting a Default Site License

After activating the plugin, head to Settings > Creative Commons to set up the default license.

Plugin Settings

Selecting a license is simple. Select one from the given CC licenses, by default CC BY-SA license is used.

Select License

There are multiple options available for the license. You can add:

  • Additional attribution text for a custom note.
  • Title and Title URL. If not mentioned it defaults to "the content".
  • Author and Author URL. If not mentioned it defaults to "on this site".
  • Display options.

License Options

Widget

There are two options to display the default license, as a widget or in the footer. We recommend using the widget for better theme compatibility.

Widget

After selecting the widget go to Appearance > Widgets and drag the CC License Widget to the required area. The widget will then display the default license on all pages of the site.

Widget Front-end

Gutenberg Blocks

The plugin adds specific Gutenberg blocks for each Creative Commons license. If you are using the default Gutenberg editor, you will find these blocks under a separate category.

Blocks Category

These blocks can be used to license any page/post/image or other media.

Blocks Back-end

Following is an image attributed using CC gutenberg block.

Attributed Image

At a glance, with WP CC Plugin you can:

  • License your site with a default license.
  • You can display the default license in the footer or as a widget in widget areas.
  • Display license for the site, posts and pages license)
  • License your WordPress Network (WordPress Multisite install)
  • License some of your sites differently in your WordPress Network
  • License some posts, pages, or images differently from your default license (per content license)
  • License posts and pages by simply including CC Gutenberg blocks for each license required (Gutenberg License Blocks)

Contributing

Contributions will be very appreciated. See CONTRIBUTING.md.

Using a localized Docker Setup

A local docker-compose.yml file is included in the ./dev/ directory. It includes an Apache webserver, the latest WordPress installation files, and a mySQL db server utilizing MariaDB.

It is modelled after the official example, given here by WordPress: https://hub.docker.com/_/wordpress/

To run a local development environment for building and testing contributions you can run the following pattern from the root directory of this repository after cloning it.

docker compose -f ./dev/docker-compose.yml [command]

Be sure to substitute [command] for a valid docker compose command, such as:

docker compose -f ./dev/docker-compose.yml up to build and start containers

OR

docker compose -f ./dev/docker-compose.yml down to stop containers

The first time the build process is run via docker compose -f ./dev/docker-compose.yml up, docker will create two directories within your local repository clone:

  • ./dev/db where the database and relevant config will be stored
  • ./dev/wordpress where the WordPress files will be stored

It will then mount this plugin's root directory into the /wp-content/plugins/ directory of the WordPress installation. Edits made to your local plugin clone will reflect within the build.

You can then navigate to http://localhost:8080/ and proceed with a manual WordPress installation. After the initial installation the WordPress install will persisist between docker sessions.

If you need to reset the WordPress install to a "clean slate" you can simply delete the db and wordpress directories respectively, and then run docker compose -f ./dev/docker-compose.yml up again to initialize a clean install build.

Release Schedule

We will release a new version every month that there are substantial changes. See milestones for how GitHub issues are assigned for release.

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

License

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Alan Levine

πŸ’»

Brylie Christopher Oxley

πŸ’»

Dibyajiban Sahoo

πŸ“–

Hugo Solar

πŸ’» πŸ‘€

Juane Puig

πŸ’»

Kriti Godey

πŸ“†

Ned Zimmerman

πŸ’»

Nishant Mittal

πŸ“–

Priscillia Umeakuekwe

πŸ“–

Radek Czajka

πŸ’»

Rajesh Royal

🌍 πŸ’»

Rhea Myers

πŸ’»

Stefano Ottolenghi

πŸ’»

Timid Robot Zehta

πŸ‘€ πŸ“†

θ΅΅δΈ° (Zhao Feng)

πŸ“– 🌍

This project follows the all-contributors specification. Contributions of any kind welcome!

More Repositories

1

global-network-strategy

Action plan to design a model of collaboration for the future of the CC Network
221
star
2

creativecommons.org

Legacy legal code translations and general support issues
HTML
151
star
3

chooser

The new and improved CC license selection tool.
JavaScript
95
star
4

cc-legal-tools-app

Legal tool (licenses, public domain dedication, etc.) management application for Creative Commons
Python
78
star
5

network-platforms

Platforms are organized spaces for people to collaborate across the CC Global Network
76
star
6

creativecommons.github.io-source

Source files for CC Open Source website
HTML
73
star
7

cc-resource-archive

Collection of resources on Creative Commons (CC) tools and other open topics
Dockerfile
54
star
8

legaldb

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.
HTML
38
star
9

og-image-generator

An open graph image generator for Creative Commons projects.
TypeScript
30
star
10

termination-of-transfer

Termination of Transfer tool
JavaScript
25
star
11

quantifying

quantify the size and diversity of the commons--the collection of works that are openly licensed or in the public domain
Jupyter Notebook
21
star
12

cc-legal-tools-data

Legal tool (licenses, public domain dedication, etc.) data for Creative Commons
HTML
21
star
13

sre-salt-prime

Site Reliability Engineering / DevOps SaltStack configuration files
SaltStack
20
star
14

cc-license-chooser

Creative Commons JavaScript license selector in the form of a JavaScript widget
XSLT
17
star
15

search

Creative Commons Search Portal
HTML
17
star
16

.github

Default templates and guidelines for Creative Commons GitHub repositories.
17
star
17

mp

Documentation for CC integration into user-generated content platforms
14
star
18

cc.licenserdf

RDF describing Creative Commons licenses
Python
13
star
19

ccos-scripts

Scripts used to maintain various pieces of CC's open source presence.
Python
13
star
20

creativecommons.github.io

Static files for CC Open Source website. ⚠️ DO NOT MODIFY THIS REPOSITORY! To edit, use the creativecommons.github.io-source repository.
HTML
13
star
21

commoners

Creative Commons Global Network website
PHP
12
star
22

licensebuttons

Creative Commons badges, license Buttons, etc.
Python
10
star
23

creativecommons-base

Base WordPress theme for Creative Commons websites.
PHP
9
star
24

new-creativecommons.org

Primary Creative Commons website
JavaScript
8
star
25

cc.i18n

Localization data for CC's deeds and license chooser
Python
7
star
26

faq

Creative Commons FAQ page
HTML
7
star
27

new-www-theme

creativecommons.org theme, to make it look lovely
SCSS
7
star
28

project_creativecommons.org

Project to manage technical implementation of creativecommons.org (primary website)
Shell
6
star
29

cc-global-components

Vue.js components for consistent navigation and branding across Creative Commons web properties
Vue
6
star
30

cc.license

Python app that runs part of the license engine on CC's website
Python
6
star
31

new-www-plugin

creativecommons.org various custom plugins for content types, mostly
PHP
5
star
32

cc-wp-theme

WordPress theme used on creativecommons.org
Hack
5
star
33

cc.api

Legacy API to integrate the Creative Commons licensing engine into third party applications
Python
5
star
34

cc.engine

Python app that runs part of the license engine on CC's website
HTML
5
star
35

index-prototype

This is the UX frontend prototyping repository for the new creativecommons.org website build, inspired by the Vocabulary design system.
HTML
5
star
36

vocabulary-components

A collection of Vue components used in the web facing Creative Commons.
Vue
4
star
37

vocabulary-fonts

Typefaces that lend personality to the web facing Creative Commons
MDX
3
star
38

australian-chapter

Creative Commons Australian Chapter documentation
PostScript
3
star
39

vocabulary-styles

A cohesive design system to unite the web facing Creative Commons
SCSS
3
star
40

ansible-dev

Creative Commons Ansible
Dockerfile
3
star
41

wp-theme-creativecommons.org

New WordPress theme for Creative Commons website
PHP
3
star
42

cc-usability-prototypes

Prototypes for CC's usability initiative.
2
star
43

magical-pony

Helper tool for staging CC license legalcode translations before they are officially published
HTML
2
star
44

index-dev-env

Local development environment for CreativeCommons.org (product name: index)
Shell
2
star
45

wp-plugin-cc-global-network

PHP
2
star
46

wp-theme-openglam

[WIP] WordPress theme for openglam.org
PHP
2
star
47

vocabulary-theme

WordPress Theme implementation of the Vocabulary design system
PHP
2
star
48

scholars-addenda

The scholars addenda system.
Python
2
star
49

wp-plugin-creativecommons-website

This WordPress plugin provides custom functionality for the creativecommons.org website.
PHP
2
star
50

CCID-MediaWiki

Script to add CCID users to MediaWiki
PHP
1
star
51

ccrel-guide

A guide to using the Creative Commons Rights Expression Language (CC REL)
HTML
1
star
52

certificates-landing-page-theme

Theme for CC Certificates website landing page
SCSS
1
star
53

data-science-playground

Jupyter Notebook
1
star
54

creativecommons-certificate

WordPress theme for the CC Certificate Website
PHP
1
star
55

CCID-cas

RubyCAS customizations for CCID (Creative Commons ID)
HTML
1
star
56

reversionary-rights

International reversionary rights resources site.
HTML
1
star
57

open4us.org

Open Professionals Education Network (OPEN) website
Shell
1
star
58

wp-theme-cc-commoners

PHP
1
star
59

vocabulary

A cohesive system of design for Creative Commons
HTML
1
star