這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Pick-n-Post Quote

描述

Utilizes the native WordPress custom meta field. Both Gutenberg and Classic Editor supports Custom Fields.

Pick-n-Post Quote plugin allows you to display a static or featured quote for the current post in the sidebar area. Displaying quote author and source is optional. Supports multiple instances of widget with different styling if used on both sidebars.

Features include:

  • Choose your own style
  • Font size
  • Font style
  • Text alignment
  • Text color
  • Optional display of quote author and source
  • Optional display on static pages

If you wish to display random quote on a current post, a plugin “Quote Collection” by Srini G already exists for this purpose.

Add Custom Field

If you are using the Classic Editor:

  • Go to WordPress Post edit screen and select one post where you want to show a featured quote.
  • Scroll to top of the page to see “Screen Options”.
  • Tick the “Custom Fields” checkbox.

If you are using the Gutenberg Editor:

  • Go to WordPress Post edit screen and select one post where you want to show a featured quote.
  • Click the “three-dots” settings button on the right side and go to “Options”.
  • Scroll down until you see the option “Custom Fields”.
  • Tick the “Custom Fields” checkbox. Wait for the page to reload.

Scroll down until you see the “Custom Fields” meta box. Click “Enter New” to add each custom field. Note that you only need to enter a field “key” once.

  • To add a quote, use “pick_n_post_quote” under Custom Field “Name”. Type your quote in the “Value” area. Hit “Add Custom Field”.
  • To add an author, use “pick_n_post_quote_author” under Custom Field “Name”. Type your author name in the “Value” area. Hit “Add Custom Field”.
  • To add a source, use “pick_n_post_quote_source” under Custom Field “Name”. Type your source in the “Value” area. Hit “Add Custom Field”.

When there is an entry for the custom field, you can verify if the meta data value exists in wp_postmeta table in the database. For the custom field meta key to appear in the dropdown under “Add New Custom Field”, there must be at least a single value entered.

Pick another post. Since you already entered one entry for each custom field key, they will now appear in the Add New Custom Field “Select” dropdown. You just need to enter their texts in the “Value” area.

安裝

It is very simple.

First Method

  1. Download the plugin zip file.
  2. Go to your WordPress Admin dashboard->Plugins section.
  3. Click on “Add New” tab, and click on the “Upload Plugin” button.
  4. Click on the “Choose File” button and select Pick-n-Post Quote zip file. Click “Install Now”.

Second Method

  1. Go to your WordPress Admin dashboard->Plugins section.
  2. Click on “Add new” tab.
  3. Enter “Pick-n-Post Quote” in the search bar.
  4. Select Pick-n-Post Quote plugin and click “Install Now”.

Activation

  1. Go to your WordPress Admin dashboard > Plugins section. The list of installed plugins will show.
  2. Hover down until you see “Pick-n-Post Quote” plugin and click “Activate”.

Widget Setup

  1. Go to Appearance->Widgets to set and configure Pick-n-Post Quote.
  2. Add custom field to your post.

常見問題

Can I show random quote on each page?

If you wish to display random quote, a plugin “Quote Collection” by Srini G already exists for this purpose.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pick-n-Post Quote” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Pick-n-Post Quote 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.4

  • Add text color option.
  • Fix before widget.
  • Set quote disabled attribute.

1.0.3

  • Add checkbox to disable display on static pages.
  • Fix duplicate widget title name appearing at the bottom.
  • Fix condition to show Pick-n-Post Quote widget only if custom field is not empty.

1.0.2

  • Supports multiple instances of widget with different styling if used on both sidebars.

1.0.1

  • Plugin is first created