跳到内容

Pick-n-Post Quote

v1.0.4

bigacelloy · 2019年6月28日 上架

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

正在使用
10 以下
评分
暂无
累计下载
1,389
最近更新
2019年7月9日
需要 WordPress 4.6.0+已测试到 5.2.31

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums