该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simple Preview

描述

Let anonymous users preview a post before it is published!

Have you ever been writing a post that needs to be reviewed by someone who does not have access to log in? This plugin generates a simple URL that can be given out for public preview.

Based on Public Post Preview 1.3 by Matt Martz and Jonathan Dingman. Unlike Public Post Preview, the Simple Preview can be accessed by more then one user. The 24hr time limit has also been removed.

Upgrading

  1. Click update from the WordPress plugin menu.

or

  1. Click ‘Download’ on this page.

  2. Deactivate the simple preview plugin through the Plugins menu in WordPress Admin.

  3. Upload the folder to your /wp-content/plugins directory, overwriting the previous version.

屏幕截图

  • It’s just that simple!

安装

From wordpress admin screen

  1. Choose ‘Plugins > Add New’.

  2. Search for ‘simple preview’ and install!

From this page

  1. Click ‘Download’

  2. Upload the simple-preview folder to your /wp-content/plugins directory.

Remember to:

  1. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer

常见问题

How is this different then Public Post Preview?
  1. Completely removed the use of “nonce” variable. Posts marked preview are now accessible by multiple anonymous users. There is no longer a 24hr time limit.

  2. Public_Post_Preview used the option variable as an array to store preview state – genius! However, it’s use seemed backwards with an empty item == preview true. This logic was reversed so: simple_array[,,true,,true] now means that p=1 and p=4 have previews. This also allows for the preview to be turned off by default.

  3. Removed extra variables for a cleaner URI: http://www.yourblog.com/?p=1502&preview=true

How do I use it?
  1. Unlike public post preview, simple preview is not turned on by default.

  2. To enable simple preview for a specific post, check ‘Allow Preview’ and save the post. A simple URL will be created.

  3. To disable, uncheck the box and save the post again

评价

此插件暂无评价。

贡献者及开发者

“Simple Preview” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Simple Preview”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.9

  • Tested on 4.9.8
  • Fixed Bug: Link to preview pages is now ?page_id= instead od ?p=

0.1.8

  • Tested on 4.9+
  • Feature: Added support for Pages and Custom Post Types (thanks to @herrllama)
  • Fixed Bug: Updated constructor (thanks to @chadhayton)

0.1.7

  • Tested on 4.7+
  • Moved from seperate meta box to the publish area.
  • Cleaned up the code a bit.
  • Fixed bug: Regulare preview works again
  • Figed bug: Preview will remain active when a post is scheduled

0.1.6

  • Tested on 3.6+. Cleaned up the code a bit.

0.1.5

  • Initial release. Has been well tested.

0.1.4

  • This version (and previous versions) were just used in testing. They weren’t event submitted to https://wordpress.org/extend/plugins/