Public Post Preview

Descrição

Share a link to anonymous users to preview a draft 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 site 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.

O plugin era mantido pelo Matt Martz e foi uma ideia do Jonathan Dingman. Agradeço ao Hans Dinkelberg pela foto.

Uso

  • To enable a public post preview check the box below the edit post box.
  • The link will be displayed if the checkbox is checked, just copy and share the link with your friends.
  • To disable a preview just uncheck the box.

Imagens de tela

  • Edit Posts Page

Instalação

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.

FAQ

Não consigo achar o link de pré-visualização. Onde está ele?

A caixa de seleção só fica disponível para posts não publicados uma vez que forem salvos como rascunho.

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 horas não são suficientes para mim. Posso estender este intervalo?

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.

Avaliações

11 de junho de 2020
Installed, activated. There are no traces of the plugin in my WP. Perhaps it doesn't work. Perhaps it works but it's so little user friendly that I can't use it.
29 de março de 2020
I like using this for my newsletter. It gives me the ability to give "exclusive" content to readers. While the public has to wait for a scheduled post to become public, my newsletter readers don't, and that's a good thing.
4 de março de 2020
This has been very handy for sharing in-progress work, especially pages that need to be reviewed by multiple stakeholders that don't necessarily need a login to the site. Does exactly one thing, and does it very well, which is perfect for a utility plugin like this. 💯⭐
Leia todas as 56 avaliações

Contribuidores e desenvolvedores

“Public Post Preview” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

“Public Post Preview” foi traduzido para 17 localidades. Agradecemos aos tradutores por suas contribuições.

Traduzir “Public Post Preview” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

2.9.0 (2019-07-20):

  • Requires WordPress 5.0
  • Requires PHP 5.6
  • Adds notice (as Snackbar if supported) when changing preview status in block editor.
  • Fixes incorrect status message in classic editor.
  • Fixes grammar in expired link notice. Props @garrett-eclipse.
  • Improves internal checks to be more strict. Props @PatelUtkarsh.
  • Removes deprecated i18n compatibility layer from Gutenberg plugin.

2.8.0 (2018-11-27):

  • Add support for WordPress 5.0 and the new block editor.

2.7.0 (2018-09-14):

  • Initial support for Gutenberg.
  • Block robots for public post previews. Props @westonruter.

For more see CHANGELOG.md.