| 开发者 | ddoubs22 |
|---|---|
| 更新时间 | 2026年9月14日 05:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[inklatch]...[/inklatch]/wp-content/plugins/inklatch/, or install it from Plugins -> Add New.[inklatch]...[/inklatch], or add the Inklatch block in the editor.Yes. It is stripped before the page is served. View-source shows a placeholder, nothing more.
Yes, and you should leave caching on. Every visitor receives identical HTML, so your pages cache normally. The unlock decision happens in a separate request that is sent with standard no-store and Vary: Cookie headers, which virtually every cache respects without any configuration. If you run a CDN or a setup configured to cache everything regardless of those headers, use the caching self-check under Settings -> General to confirm in one click, and exclude /wp-json/inklatch/v1/ if needed.
By default search engines see the same placeholder every visitor sees, so a gated post has little indexable text. Turn on SEO mode (Settings -> General) and each gate publishes a short public excerpt, while the page declares the gated remainder with schema.org markup (isAccessibleForFree: false). Crawlers and readers see exactly the same words, which is what separates this from cloaking.
Only the excerpt, and only when you switch it on. It is off by default. The excerpt is taken from the opening words of the gated content, so set an excerpt="..." attribute on a gate (or fill in the Public excerpt field on the block) to publish different text instead. Gates marked require_verified are never excerpted automatically.
Yes. Settings -> Appearance holds the markup for both locked states, and you write the HTML. Tokens like {{email_input}} and {{submit_button}} become real, working elements wherever you place them — everything around them is yours, including wrappers and classes, so a modal triggered from your own button is just a different template. If a template is missing something readers need, the built-in markup is used instead.
Not natively yet, but the webhook under Settings -> General reaches them through Zapier, Make, n8n, or any automation tool that accepts a JSON POST. It fires when a reader submits an address, when they verify one, or both — verified is the safer feed for a mailing list, and is the default.
Your mail provider knows an address does not exist, but WordPress never hears about it — so a dead address sits in your list and every resend fails silently. Enable bounce handling under Settings -> General, paste the URL into your provider's bounce webhook, and those addresses are marked and skipped. Only hard bounces count; a full mailbox is ignored.
Yes. Settings -> General has a blocked domain list — put one domain per line and addresses there are refused, along with any subdomain. It ships empty, because blocking a domain your readers legitimately use is worse than the occasional junk signup. Add domains as you see them.
No. The Analytics tab counts how often each gate was shown and unlocked, as daily totals per gate. There is no per-visitor record, no identifier, and nothing leaves your site. You can switch it off entirely under Settings -> General.
Yes. Both the welcome and verification emails are HTML templates you can edit under Settings -> Emails, with merge tags for {{magic_link}}, {{site_name}} and {{email}}. Use inline styles — email clients ignore stylesheets. A plain-text version is generated from your HTML automatically and sent alongside it, so readers on text-only clients still get a working link.
[inklatch]...[/inklatch].Vary: Cookie. They vary by the reader's session cookie but did not say so, and a cache keying on URL alone could have served one reader's unlocked content to another.inklatch_subscriber_verified action and inklatch_webhook_payload filter for developers.Reader@example.com and reader@example.com are one subscriber rather than two free views.{{email}} is reader-supplied, so it can never reach a template as live markup.excerpt="..." shortcode attribute and a Public excerpt field on the block, which override the automatic excerpt