這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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/