前言介紹
- 這款 WordPress 外掛「mg Quotes」是 2014-05-06 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2015-03-21,距離現在已有 3696 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
giuliom |
外掛標籤
quotes | random quotes |
內容簡介
r />
此外掛程式可在 WordPress 上添加一個新的自訂文章類型,以管理和發布您最喜愛的引用。
快速功能概要:
使用多行編輯器輸入引文內容
可選地將作者指派給引文,並提供現有作者的自動完成功能
可選地將一個或多個階層式分類指派給引文
可選地指派一個或多個自訂欄位:日期、地點、連結等等
自動產生引文標題
使用作者和/或分類過濾器以及全文搜索快速瀏覽引文
在 WordPress 前端透過小工具、簡碼和模板標籤發布引文
使用精細的訪問權限控制來限制或允許訪問引文及相關操作
卸載時進行清理
管理引文
要開始管理引文,請訪問新的頂部菜單“引文”:
在引文編輯器中,輸入引文內容,並可選地加入其作者(如之前已添加,只需輸入部分名稱即可使用自動完成),以及
一個或多個(階層式)分類。
您可以為引文定義標題,用於引文列表中;如果未提供,將自動生成。
還可以定義一些自訂欄位,例如分配有關引文的更多信息,例如日期、連結、地點等。
作者是使用自訂分類法實現的,因此,從引文/作者頁面可以使用標准 WP 介面來管理它們。
在引文/所有引文頁面中,有標准文章列表 WP 用戶界面,可用於瀏覽引文。
有全文搜索和作者和/或分類的兩個過濾器。
使用精細的訪問權限控制來限制或允許在管理中訪問引文及其相關操作
在安裝時,此掛件會定義和分配以下原始功能給“管理員”角色:
類別自訂分類法:
“manage_quote_categories”
“edit_quote_categories”
“delete_quote_categories”
“assign_quote_categories”
作者自訂分類法:
“manage_quote_authors”
“edit_quote_authors”
“delete_quote_authors”
“assign_quote_authors”
引文自訂文章類型:
“edit_quotes”
“edit_others_quotes”
“publish_quotes”
“read_private_quotes”
“read”
“delete_quotes”
“delete_private_quotes”
“delete_published_quotes”
“delete_others_quotes”
“edit_private_quotes”
“edit_published_quotes”
它們的名稱應該不言自明。
要自定義訪問權限,只需向角色編輯插件授予/撤銷此類功能即可,例如User Role Editor。
匯入/匯出
要將所有引文從一個 WordPress 實例複製到另一個 WordPress 實例,只需使用 WordPress 提供的相關工具,從工具菜單中訪問即可。
發布引文
引文可以使用三種方法在前端發布:小工具、簡碼和模板標籤。
小工具
原文外掛簡介
This plugin adds a new custom post type to manage and publish your favorite quotes with WordPress.
Quick features summary:
Enter the quote content in a multiline editor
Optionally assign an author to a quote, with autocompletion for already existent authors
Optionally assign multiple hierarchical categories to the quote
Optionally assign one or more custom fields: date, where, link, …
Autogeneration of quote titles
Quickly browse through your quotes with author and/or category filters and full text search
Import/Export of quotes between WordPress installations
Publish quotes on the front end with widgets, shortcodes and template tags
Restrict or allow access to the quotes and the relative operations in admin with fine grained access control
Cleanup on uninstall
Manage the quotes
Start managing your quotes accessing the new top menu ‘Quotes’:
In the quote editor enter the quote content and optionally, its author(if you have already added it before just type a part of its name to get an autocompletion) and
one or more (hierarchical) categories.
It is possible to define a title for the quotes, mainly used in the quote listing; if it is not provided it will be autogenerated.
It is also possible to define some custom fields, for example to assign further informations about the quote, such as a date, a link, a place, …
The authors are implemented with a custom taxonomy, so from the Quotes/Authors page it is possible to manage them with the standard WP interface.
From the Quotes/All quotes page there is the standard post list table WP user interface to browse through the quotes.
There is the full text search and two filters for the author and/or the category.
Restrict or allow access to the quotes and the relative operations in admin with fine grained access control
The plugin defines and assigns at installation time the following primitive capabilities to the ‘administrator’ role:
Category custom taxonomy:
‘manage_quote_categories’
‘edit_quote_categories’
‘delete_quote_categories’
‘assign_quote_categories’
Author custom taxonomy:
‘manage_quote_authors’
‘edit_quote_authors’
‘delete_quote_authors’
‘assign_quote_authors’
Quote custom post type:
‘edit_quotes’
‘edit_others_quotes’
‘publish_quotes’
‘read_private_quotes’
‘read’
‘delete_quotes’
‘delete_private_quotes’
‘delete_published_quotes’
‘delete_others_quotes’
‘edit_private_quotes’
‘edit_published_quotes’
Their names should be self-explanatory.
To customize the access control it is sufficient to grant/revoke such caps with a role editing plugin, for example User Role Editor.
Import/Export
To copy all the quotes from a WordPress instance to another just use the related tools provided by WordPress, accessible from the Tools menu.
Publish the quotes
Quotes can be published on the front end with three methods: widgets, shortcodes and template tags.
Widgets
The Selected Quote and the Random Quote widgets can be used to to display one single quote in the widget areas provided by the used theme.
The Selected Quote widget allows to display a specific quote. Just select it with the control that lists all quotes by their titles.
The random quote displayed by the homonymous widget can be optionally limited to the quotes by an author and/or a category using the provided controls.
Shortcodes
Shortcodes can be used to display quotes in posts and pages.
To display a quote in a post or page use the [quote] shortcode passing it the ID of the quote.
Quote IDs can be easily read from the Quotes/All Quotes page, hovering with the mouse on the relevant row of the quotes list table.
So, to display in a post a quote whose ID is 181 just enter [quote id=”181] in the post content editor.
To display a random quote from all the quotes or only from a category and/or author there is the [rnd_quote] shortcode.
Category and author, when provided, must be identified by their name.
Example:
[rnd_quote] -> random quote
[rnd_quote author=”Oscar Wilde”] -> a random quote from the author ‘Oscar Wilde’
[rnd_quote category=”Art”] -> a random quote from the ‘Art’ category
[rnd_quote category=”Art” author=”Pablo Picasso”] -> a random quote in the ‘Art’ category and by the ‘Pablo Picasso’ author
Template tags
If you prefer to modify the theme templates, two template tags are available that mimic the behaviour of the widgets and shortcodes.
mg_qt_get_quote($id) gets a single quote, specified by its ID
mg_qt_get_rnd_quote($category = null, $author = null) Pick one random quote, optionally from the category and/or the author specified(by they names)
These two functions return a string with the HTML markup for the picked quote; mg_qt_quote($id) and mg_qt_rnd_quote($category = null, $author = null)
instead directly output the markup.
Quote markup customization
By default the markup generated for a quote is something like this:
WordPress puts food on my table
To modify this template the ‘mg_qt_quote_markup’ filter is available. It it invoked with two parameters:
The generated html
An associative array with the quote data. The available keys are: ‘content’, ‘author’, ‘title’, ‘id’.
Some additional info.
Source Code
The plugin source code is also availabe on GitHub.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「mg Quotes」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.1.3 |
延伸相關外掛(你可能也想知道)
Randomize 》Randomize 外掛可以顯示隨機的文字,您可以在管理後台按類別輸入文字、引文和 HTML 代碼。您可以使用小工具、shortcode 或模板標籤顯示網站上的隨機內容。, ...。
Quotes for WooCommerce 》所需外掛:, , WooCommerce 3.0.0 或更高版本, , 想將您的 WooCommerce 商店轉換為僅限報價的程序嗎?此外掛讓管理員可以基於產品單位隱藏價格並修改「加入購...。
Random Text 》RandomText 是一個方便的 WordPress 外掛,可以讓你保存、編輯和刪除分類文本,並通過小工具將隨機/旋轉的文本按類別注入側邊欄或通過模板標籤注入頁面正文。...。
Perfect Pullquotes 》這個外掛可以讓你在內容中加入漂亮的左對齊、右對齊或全寬的引用。它包括一個自定義的「拉出引用」選單按鈕以及一個自定義的 shortcode,可供 TinyMCE 編輯器...。
Stock Market Overview 》Stockdio 的股市概況包含一個外掛和小工具,可提供擺放股票、市場指數、貨幣和商品的分類列表,包括它們的價格和變動情況。支援超過 65 個不同的股票交易所和...。
Stock Quotes List 》Stockdio 的股票報價列表包含一個外掛程式和一個小工具,可提供顯示股價、市場指數、貨幣和商品以及其變化的方法。支援超過 65 個不同的股票交易所和眾多的市...。
Social Proof (Testimonial) Slider 》眼見為憑。展示您的專業知識最有力的方法之一,就是在您的網站上滾動一個視覺化的證明文件清單。每點擊一次,就會顯示一個幻燈片,分享證詞、獎項標誌、評價...。
Simple Testimonials Showcase 》這個外掛是基於全面響應式與靈活的jQuery輪播插件 Slick by Ken Wheeler 所製作而成,能夠幫助您管理並展示所有的推薦信、評論或引用,並以多種方式呈現在幻...。
Simple Pull Quote 》Simple Pull Quote WordPress Plugin 提供一個簡單的方法讓你在文章或頁面中插入拉開引用。它會在 HTML 和 TinyMCE 編輯器中添加一個易於使用的「拉開引用」...。
wpuntexturize 》預設情況下,WordPress會將單引號和雙引號轉換為彎曲的替代品。此外掛可防止此事發生,讓您可以欣賞單引號和雙引號的平直版本。如果您的內容本來就包含了彎曲...。
Cleverwise Daily Quotes 》您曾經想過要顯示每日佳句、每日小貼士或每日摘錄嗎?, 您是否認為在您熟悉的 WordPress 控制面板中輕鬆管理這些內容?, 好消息來了!使用這個外掛程式,您可...。
Quotes Addon for GetPaid 》GetPaid 外掛的報價功能擴充套件, 允許您建立報價單,將其發送給客戶,在得到客戶接受後將其轉換為發票。此外掛需要安裝 GetPaid 外掛。, 功能, , 建立報價單...。
Easy Quotes 》Easy Quotes 是一個讓你收集和顯示你喜愛的報價 / 評論 / 推薦或其他簡短文本片段的外掛,可以在你的網站上展示。, 主要功能:, , 自定義文章類型 "報價",可...。
XV Random Quotes 》XV Random Quotes 外掛可幫助您在 blog 的各處收集並顯示隨機引言。該外掛非常靈活,可用於顯示各種隨機詞語,例如標語、「回答一條留言」信息、頁腳或標題等...。
Stray Random Quotes 》Stray Random Quotes 可以幫助您在部落格的各個地方收集和展示隨機的引言。此外,此外掛如此靈活,以至於可以用於展示各種各樣的隨機文字、標語、"留下回應"...。