WordPress

Passport Gate for WordPress

SI Passport Gate is a free WordPress plugin that shows content only to holders. It adds Sign in with SI Passport, a checkbox for holder-only pages and posts, a block and a shortcode for parts of a page, and an optional WooCommerce coupon for holders. Your server checks every visitor with sicto.si, and learns pass or fail, never the amount.

Version 1.0.0, 25 KB, GPL v2 or later

Setup

Four steps

Register your domain

Add your site to Sign in with SI Passport and prove you control the domain. The plugin can put the proof tag on your home page for you.

Sign in with SI Passport

Install the plugin

In WordPress, open Plugins, Add New, Upload Plugin, choose si-passport-gate.zip and activate it. Settings are under Settings, SI Passport Gate.

Add your site to the gate

On this page, sign in with the same SI Passport, pick your domain and set the rule.

Gate your content

Tick Holders only on a page or a post, wrap blocks in the Holders only block, or use the shortcode.

What you get

Four tools in one plugin

Sign in with SI Passport

The same button the SI sites use, as a block, a shortcode and inside every gated notice.

Holder-only pages and posts

One checkbox in the editor. Feeds, excerpts and the REST API are covered too.

Block and shortcode

Show part of a page only to holders, with your own words for everyone else.

WooCommerce coupon

With WooCommerce active, a coupon you pick works only for verified holders, and can apply itself in the cart.

Shortcodes

Copy, paste, done

Content only holders see

[si_holders]
  Only holders read this.
[/si_holders]

[si_holders else="Holders only. Sign in to read on."]
  ...
[/si_holders]

The sign-in button, anywhere

[si_passport_signin]
External service

What the plugin sends, and where

The plugin talks to one service: sicto.si. It loads the SI Passport sign-in script from sicto.si, and your server asks sicto.si whether a signed-in visitor passes your rule. It sends your domain and the visitor's sign-in token. No analytics, no trackers, and nothing is sent for visitors who do not sign in.

Your communities

Set the rule and switch the gate

Sign in with the SI Passport that set the community up. Everything here can also be done with commands.

Questions

About the plugin

Is the plugin free?

Yes. It is free software under the GPL, version 2 or later, and the checks on sicto.si are free too.

Does it work with page caching?

Gated pages are marked as not cacheable, and the plugin checks the visitor on your server. If your cache ignores that mark, exclude your holder-only pages from it.

What does a visitor without the token see?

Your own notice, with the Sign in with SI Passport button and a link to the gate page that shows the rule.

Does my site see wallet addresses?

No. Your site gets the public SI Passport: number, handle and name, with pass or fail for your rule.

Bring your holders

One Passport, every community

Add the gate in a few minutes. It costs nothing to run, for you or for your members.