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

Quotopia

外掛說明

Yet another quotes plugin. Allows you to load custom quotes for whatever needs your website has. Quotes are loaded via text files; no database additions needed. Can customize many aspects of the display, using the shortcode builder page.

What sets this apart from other quote plugins is the fact that our plugin actually remembers the last quote or testimonial that was displayed and will display the next quote if the page gets refreshed. This keeps the cycle continuously moving forward, as someone navigates through your site.

Comes with a Quotes Pack builder interface, which allows you to load your own favorite quotes or customer testimonials. All quote packs are saved inside your wp-content/uploads directory in a “quotes” folder, so you never lose them, even if you deactivate this plugin. Quote files are situated in a JSON format, with a limit of 50 quotes, per file.

This keeps your server overhead low and frees this plugin from any database requirements.

Current Version 1.0.6

Features:

  • Quotopia Shortcode builder allows you to customize most aspects of the quote.
  • Works anywhere you can use shortcode.
  • Responsive, width-wise. Height of div will adjust automatically (longer quotes may present issues if this is used in a header of a website).
  • Don’t want to use any of the existing quote packs? Not a problem, build your own via the Quote Pack builder!

This plugin is not compatible with WordPress versions less than 5.0. Requires PHP 5.6+.

TROUBLESHOOTING:

  • Check the FAQs/Help located on WordPress’ Plugin page, or the Support forum on WordPress.org’s plugin area.
  • Please be aware that Quotopia can only work correctly once per page. If you have this in your sidebar, header or footer, you cannot include it on a post or page. This should be addressed in the next version.
  • Quotopia has been extensively tested with both jQuery version 1.12.4 and 3.5.1, without any issues. If you don’t see the quotes cycling, ensure you are allowing javascript to run.

螢幕擷圖

  • Shortcode Builder.
  • Quote Packs listing.
  • Create Quote Pack.
  • Quotopia, in action

安裝方式

If you downloaded this plugin:

  1. Upload the ‘quotopia’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Once activated, locate the “BD Plugins” section in WP Admin, and then click on “Quotopia”.
  4. Follow the directions on the Shortcode Builder tab, create a new quotes library under the Quotes Builder tab, etc.

If you install this plugin through WordPress 2.8+ plugin search interface:

  1. Click “Install”, once you find the “Quotopia” plugin.
  2. Activate the plugin through the ‘Plugins’ menu.
  3. Once activated, locate the “BD Plugins” section in WP Admin, and then click on “Quotopia”.
  4. Follow the directions on the Shortcode Builder tab, create a new quotes library under the Quotes Builder tab, etc.

常見問題集

** As this is the first release of Quotopia, FAQs are a little minimal right now **

Why is the Shortcode Builder not working?

Check to make sure you’ve got JavaScript enabled on your browser. Also make sure jQuery is working on your site.

Where’s the widget for this? Gutenberg block?!

Coming in a future version, I promise!

Why is the Admin interface not in [LANGUAGE] language?

Internationalization will be coming very soon.

What’s with the animated bear icon / Why “BearlyDoug”?

You’ll need to check out the plugin and click on “BD Plugins” after you activate this plugin. 🙂

Why free? Do you have a commercial version, too?

Because I want to give back to the community that has given so much to me, no. What you see is what you get.WordPress has allowed me to advance my career and put me into a position where I’m doing okay. That said, you can still support this plugin (and others, as I release them) by hittin’ that “Donate” link over on the right.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Quotopia〉的開發相關工作。

參與者

將〈Quotopia〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

TODO

  • Additional cycle methods
  • Editing Quote Packs
  • Upload Quote Packs
  • Quote Pack language rating system
  • Quotopia Widget and Gutenberg block
  • Proper Internationalization

1.0.6

  • Standardized the wp-admin side CSS file for all plugins.
  • Moved “All Quote Packs” info to below the ShortCode builder tab, under the shortcode builder, to allow for the “More BD Plugins” tab that is now standard across all my plugins.
  • Introduced a “More BD Plugins” tab, linking to current plugins, announcing future planned plugins and relocated the “Support me/this plugin!” request to that page.
  • You can now attribute multiple quotes to a single author, in addition to multiple quotes from multiple authors.

1.0.5

  • Fixed the recursive sanitization function in functions-bd.php. WP’s sanitize_text_field() does not work on arrays. I had located a recursive_sanitize_text_field() function and adapted it. Problem was that I forgot to do a second function renaming within the initial function to allow it to process arrays that go deeper than just one level. Fixed on Oct. 20th, 2020.
  • Corrected a minor versioning issue within readme.txt
  • Changed Admin side demo so people can see the cycle options in real time. Also changed quote to one of my favorite quotes.

1.0.4

  • “About BearlyDoug” was broken; now fixed. (reported by Kirk Gomes, Oct. 17th, 2020)
  • Now supports multiple quotes on one page (Oct. 17th, 2020)

1.0.3

  • Changed minimum WP version supported (3.5.0 to 5.2 – Oct. 16th, 2020)

1.0.2

  • Plugin URL added. (October 16th, 2020)
  • Error showing $_GET[‘page’] undefined corrected. (reported by Kirk Gomes)
  • Plugin was still displaying version 1.0.0; corrected.

1.0.1

  • Minor improvements to sanitization processes, limited testing. (October 15th, 2020)
  • Improved Shortcode Builder page.

1.0.0

  • Initial Plugin development and launch, not released. (October 10th, 2020)