Title: Private Post Share
Author: Fabian Todt
Published: <strong>2022 年 11 月 2 日</strong>
Last modified: 2025 年 8 月 11 日

---

搜索插件

![](https://ps.w.org/sharable-password-protected-posts/assets/banner-772x250.png?
rev=2809682)

![](https://ps.w.org/sharable-password-protected-posts/assets/icon-256x256.png?rev
=2809682)

# Private Post Share

 作者：[Fabian Todt](https://profiles.wordpress.org/gaambo/)

[下载](https://downloads.wordpress.org/plugin/sharable-password-protected-posts.2.0.0.zip)

[实时预览](https://cn.wordpress.org/plugins/sharable-password-protected-posts/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/sharable-password-protected-posts/#description)
 * [评价](https://cn.wordpress.org/plugins/sharable-password-protected-posts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sharable-password-protected-posts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sharable-password-protected-posts/#developers)

 [支持](https://wordpress.org/support/plugin/sharable-password-protected-posts/)

## 描述

Share a link to anonymous users to view private and password protected posts (or
any other public post type).

This plugin generates secret URLs (similar to Google Docs and other cloud services)
for posts so you can share them with not-logged in users without having to share
an extra password with them.

For bug reports, security vulnerabilities, feature requests please visit the [GitHub repository](https://github.com/gaambo/sharable-password-protected-posts).

### Usage

 * To enable a sharable url check the box below the edit post box on a private or
   password protected post
 * The link will be displayed if the checkbox is checked, just copy and share the
   link.
 * To disable just uncheck the box.

By default, it’s enabled for all public post types, but that can be changed via 
the `private_post_share/post_types` filter.

## 屏幕截图

[⌊Edit Posts Page⌉⌊Edit Posts Page⌉[

Edit Posts Page

## 安装

Note: There will be NO settings page.

For an automatic installation through WordPress:

 1. Go to the ‘Add New’ plugins screen in your WordPress admin area
 2. Search for ‘Public Post Preview’
 3. Click ‘Install Now’ and activate the plugin

For a manual installation via FTP:

 1. Upload the `public-post-preview` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ screen in your WordPress admin area

To upload the plugin through WordPress, instead of FTP:

 1. Upload the downloaded zip file on the ‘Add New’ plugins screen (see the ‘Upload’
    tab) in your WordPress admin area and activate.This section describes how to install
    the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/sharable-password-protected-
    posts` directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常见问题

### I can’t find the option for to share the URL. Where is it?

The checkbox is only available for private or password protected posts. Please make
sure the status is set to “Private” or “Password protected” and you have entered
a password.

### Is it available for classic editor?

No, the plugin only works in the new block editor.

### Which permissions do I need?

The editor has to have the `publish_posts` capability.

### Can I use it for custom post types?

Yes, by default all public post types are enabled. You can filter them with the `
private_post_share/post_types` filter.

## 评价

![](https://secure.gravatar.com/avatar/e3e603e096a0e29751af85f45357a1331db67adfa044409f7ae02cec58e3833c?
s=60&d=retro&r=g)

### 󠀁[Simple and Useful Plugin](https://wordpress.org/support/topic/simple-and-useful-plugin-27/)󠁿

 [creativeincomeopportunities](https://profiles.wordpress.org/creativeincomeopportunities/)
2023 年 3 月 24 日

Running a small site to keep track of configuration and wiring details for alarms,
power panels, network switches, telephone extensions, etc. I wanted to be able to
use my phone’s camera and a QR code sticker on each unit to quickly bring up the
related details from the site, while keeping the content private. Now I just password
protect each page I create and generate a URL with this plugin that I can print 
as a QR code. Simple, and easy solution to keeping my content private and easily
accessible. Two thumbs up and 5 Stars.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/)

## 贡献者及开发者

「Private Post Share」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Fabian Todt ](https://profiles.wordpress.org/gaambo/)

「Private Post Share」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/sharable-password-protected-posts/contributors)
为本插件所做的贡献。

[帮助将「Private Post Share」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sharable-password-protected-posts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sharable-password-protected-posts/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/sharable-password-protected-posts/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/sharable-password-protected-posts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sharable-password-protected-posts/)。

## 更新日志

#### 2.0.0 (2025-08-11): New Name & Structure

This is a major release with breaking changes.
 These breaking changes are only 
important for developers extending this plugin or using the plugins functions. **
If you are just using the plugin, you are fine and nothing will change for you.**

The old plugins name was a mouth full, so we changed it to better reflect what it
does.
 The old name was `Sharable Password Protected Posts` and the new name is `
Private Post Share`.

 * Breaking: New plugin structure and namespace
    - The plugin has been moved to a new namespace called `Private_Post_Share`
    - All hooks are prefixed with `private_post_share/`
    - Meta keys and query var stay the same `_spp` prefix for backwards compatibility
    - Plugin slug and textdomain stays `sharable-password-protected-posts` (for 
      WP.org repository)
 * Breaking: Update required PHP version to 8.1 and WP 6.7
 * Dev: Add code quality tools and GitHub Actions for them
 * Dev: Add automated tests via Codeception

#### 1.1.1 (2025-06-11):

 * Security: Secret Key could be exposed via REST API for password protected posts.
   Thanks to WPScan for the report and disclosure.

#### 1.1.0 (2024-09-02):

 * Add WordPress 6.6 compatibility

#### 1.0.2 (2022-11-02):

 * Update plugin file versions and author uri

#### 1.0.1 (2022-11-02):

 * Fix source code repo and deployment to WordPress.org plugin repo

#### 1.0.0 (2022-11-02):

 * The first public release of the plugin 🥳

For more see [CHANGELOG.md](https://github.com/gaambo/sharable-password-protected-posts/blob/main/CHANGELOG.md).

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**10 月前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 6.7 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/sharable-password-protected-posts/)
   和 [English (US)](https://wordpress.org/plugins/sharable-password-protected-posts/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/sharable-password-protected-posts)
 * 标签
 * [password-protected](https://cn.wordpress.org/plugins/tags/password-protected/)
 *  [高级视图](https://cn.wordpress.org/plugins/sharable-password-protected-posts/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sharable-password-protected-posts/reviews/)

## 贡献者

 *   [ Fabian Todt ](https://profiles.wordpress.org/gaambo/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sharable-password-protected-posts/)