Public Post Preview

説明

Enables you to give a link to anonymous users for public preview of a post (or any other public post type) before it is published.

Have you ever been writing a post with the help of someone who does not have access to your blog and needed to give them the ability to preview it before publishing? This plugin takes care of that by generating an URL with an expiring nonce that can be given out for public preview.

Previously this plugin was maintained by Matt Martz and was an idea of Jonathan Dingman. Thanks to Hans Dinkelberg for his photo.

使い方

  • 外部許可を有効にするには、有効にしたい投稿画面の公開ボタン上にある「外部確認を許可する」チェックボックスをオンにします。
  • リンクURLが表示されます。URLをコピーして確認をお願いしたい相手にシェアしてください。
  • 外部確認を無効にしたい場合は、チェックボックスをオフにしてください。

スクリーンショット

  • 投稿編集ページ

インストール

ノート: 設定画面はありません。

WordPress 内で自動インストール:

  1. Go to the ‘Add New’ plugins screen in your WordPress admin area
  2. Public Post Preview を検索
  3. 「今すぐインストール」をクリックし、プラグインを有効にします

FTP でマニュアルインストール:

  1. public-post-preview ディレクトリを /wp-content/plugins/ ディレクトリにアップロードします
  2. WordPress 管理画面の「プラグイン」画面からプラグインを有効にします

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.

FAQ

インストール手順

ノート: 設定画面はありません。

WordPress 内で自動インストール:

  1. Go to the ‘Add New’ plugins screen in your WordPress admin area
  2. Public Post Preview を検索
  3. 「今すぐインストール」をクリックし、プラグインを有効にします

FTP でマニュアルインストール:

  1. public-post-preview ディレクトリを /wp-content/plugins/ ディレクトリにアップロードします
  2. WordPress 管理画面の「プラグイン」画面からプラグインを有効にします

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.
プレビューリンクのオプションが見つけられません。どこにありますか?

チェックボックスは、下書きとして保存された未公開記事の場合にのみ表示されます。

After some time the preview link returns the message “The link has been expired!”. Why?

The plugin generates an URL with an expiring nonce. By default a link “lives” 48 hours. After 48 hours the link is expired and you need to copy and share a new link which is automatically generated on the same place under the editor.

48時間では不十分です。nonce の有効期限を延長できますか?

Yes, of course. You can use the filter ppp_nonce_life. Example for 5 days:

add_filter( 'ppp_nonce_life', 'my_nonce_life' );
function my_nonce_life() {
    return 60 * 60 * 24 * 5; // 5 days
}

Or use the Public Post Preview Configurator.

評価

Great time saver! Hugely valuable tool!

As a content generator writing and editing content for clients, this plugin has been a fantastic time saver in allowing me to share draft posts without asking clients to login to their sites. Great work!

Works fine

Good product and works fine.

Just one thing: current JP localized title “外部確認” is very awkward for native Japanese! Please revert to the original EN title if possible.

Thanks,

Excellent Publishing Tool

I use this plugin every week and it’s easy to overlook how useful it is for sharing drafts, even with people who have registered user accounts on your site, as they can quickly preview a post for you without having to log in. Better than using a Google Doc since you can see shortcodes and theme styling with your draft.

38件のレビューをすべて表示

貢献者と開発者

Public Post Preview はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Public Post Preview” は次の7ロケールに翻訳されています: French, Japanese, German (Formal), Finnish, Czech, Norwegian (Bokmål), English (UK) 翻訳者のみなさん、翻訳へのご協力ありがとございます。

“Public Post Preview” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

Browse the code or subscribe to the development log by RSS.

変更履歴

2.6.0 (2017-04-27):

  • DS_Public_Post_Preview::get_preview_link() を public に。 Props @rcstr
  • 外部確認時に no-cache ヘッダーを送信する。

2.5.0 (2016-04-05):

  • Auto select preview link on focus. Props @JeroenSormani.
  • Remove preview status from posts which are trashed or after scheduled posts are published.
  • Add support for paged posts.

2.4.1 (2015-10-13):

  • Update text domain to support language packs. Translations are now managed via https://translate.wordpress.org/projects/wp-plugins/public-post-preview.

2.4 (2014-08-21):

  • Supports EditFlow and custom statuses
  • Disables comments and pings during public post preview
  • Adds Public Preview to the list of display states used in the Posts list table
  • Prevents flickering of link box on Post edit while loading

2.3 (2013-11-18):

  • Introduces a filter ppp_preview_link. With the filter you can adjust the preview link.
  • If a post has gone live, redirect to it’s proper permalink.
  • Adds the query var _ppp to WordPress SEO by Yoast whitelist.

2.2 (2013-03-15):

  • Based on feedback I have removed the extra metabox and added the preview link to the main Publish metabox.
  • Only show the checkbox if the post status/post type is good.
  • Requires WordPress 3.5.

2.1.1 (2012-09-19):

  • Sorry for the new update. Through a change in 2.1 a filter was applied to each query. The misplaced “The link has been expired!” message is now gone. Props Aki Björklund and Jonathan Channon.

2.1 (2012-09-16):

  • Introduces a filter ppp_nonce_life. With the filter you can adjust the expiration of a link. By default a link has a lifetime of 48 hours.
  • In some situations (still not sure when) the preview link is rewritten as a permalink which results in an error. The plugin now works in this situations too.

2.0.1 (2012-07-25):

  • Makes the preview link copyable again

2.0 (2012-07-23):

  • Support for all public post types
  • Saves public preview status via an AJAX request
  • I18n
  • Requires at least WordPress 3.3

1.3 (2009-06-30):

  • Hook in earlier in the post selection process to fix PHP notices
  • Add uninstall functionality to remove options from the options table

1.2 (2009-03-30):

  • Fix preview URL for scheduled posts on sites with a permalink other than default activated.

1.1 (2009-03-11):

  • Don’t limit public previews to posts in draft or pending status. Just exclude posts in publish status.

1.0 (2009-02-20):

  • Initial Public Release