WordPress plugin intelligence profile

Unlock Protocol

This plugin lets authors add locks to their posts and pages so that only paying visitors can view their content.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.9
Current version4.0.2
WordPress coverageTested up to WordPress 5.9
Minimum stackWP 5.1 · PHP 7.0
Directory statusactive
Last directory update1 Aug 20233y ago
Active installations40Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 4 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Unlock Protocol version 4.0.2 as active, updated 3y ago and tested up to WordPress 5.9.

Overview

About this plugin

Unlock is a protocol for memberships that lets any creator monetize their content permissionless.

In order to become members, visitors may need to be using a web3-enabled wallet such as MetaMask or a web browser with an embedded wallet, such as Opera. They also need a balance of crypto-currency to purchase the memberships.

The plugin enables “full-post” locking, or just block-level level locking, using the Gutemberg Editor.

The plugin uses Unlock’s default checkout UI, which means it lets users who do not have wallet create an Unlock account or even pay using credit card, if your lock supports this.

Getting Started

com/locks/create). We strongly recommend starting with a test network such as Goerli.

While the lock is deploying, you should download this plugin from the WordPress site. org website, in the Plugins section, click on the Add New button and then on the Upload Plugin` button to upload the plugin.

Note: To allow new users to log in using their Ethereum wallet with a single click, make sure that Settings > General > Anyone can register (for single sites) or Network Settings > Allow new registrations > User accounts may be registered (for multisites) is enabled. Your existing users can link their wallets to their WordPress accounts regardless of this setting.

Writing locked stories

You can either choose to lock the whole post, using the post-level settings, or to lock specific Blocks in the UI with the Gutenberg Editor, for posts and pages.

To add the Unlock Protocol block inside the page/post please follow the below steps:

  • Click on Post -> Add New
  • To add a block you just need to click on “+” in the editor.
  • Enter Unlock Protocol in the search.
  • Unlock Protocol block will be shown. Click on the block, the block gets added.
  • You will be able to see block settings on the right side. From block settings, add at least one lock, select the right network and, enter its address.

Once your page or post includes the content you need, you can preview its content like any other WordPress post or page. We recommend the use of a web3 wallet which supports multiple accounts so that you can easily toggle between accounts which are already members and accounts which are not members yet!

Contributing

This plugin is, like all of the Unlock code, open source. You’re encouraged to fork it and make any changes you’d like! org website!

Local Development

To setup local development environment for the plugin using we recommend using Localwp. To get started, simply clone the repo from GitHub.

php files and in which asset files (javascript, CSS and images) are added at build time.

You can package the whole plugin by using yarn run release and install it in your local WordPress instance. Alternatively, you can add a symbolic link in the local WordPress’s wp-content/plugins folder that points to the unlock-wordpress-plugin.

Publishing the plugin

In order to update the plugin, check out the current subversion state with

org/unlock-protocol

Then, from the GitHub repo clone, inside the assets folder, write

yarn run release

This will generate a zip file in dist directory, unzip that file and copy the content to trunk directory in svn repo and commit the changes into svn with

svn ci -m "commit message"

) to release it:

Y"

Additionally, please make sure you tag the version on Github:

Y

And finally, create the release on Github’si UI

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ethereum
  • membership
  • monetization
  • paywall
  • unlock
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.9
Minimum requirementsWordPress 5.1 · PHP 7.0
Update activity1 Aug 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.