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

Optio Integration Tools

外掛說明

This plugin integrates Option Publishing videos in your dentistry site by means of shortcodes. The following shortcodes are available to use:

  1. complete library [optio type=”library” scope=”all”]
  2. partial library (useful for partial subscriptions) [optio type=”library” scope=”dentistry”], [optio type=”library” scope=”orthodontics”], [optio type=”library” scope=”cosmetics”], [optio type=”library” scope=”kids”]
  3. lightbox single video [optio type=”single” scope=”dentistry/missing_tooth/implant_fixed”]
  4. option to use widget instead or in combination with shortcodes. Useful when multiple videos are related to the current post or page
  5. instructions and assistance for creation of Optio videos tab on your Facebook page (the tab will run as iframe with canvas from your website)

Known Issues

  1. tba

To Do List

  1. Add “Do not use Optio on this post” checkbox in Quick Edit and Bulk Edit modes.
  2. Add filtering and pagination to the videos library (admin mode)
  3. Add proper comments to the whole plugin code
  4. Add possibility to change the default description for individual videos
  5. Add gallery shortcode to display the associated movies when they are too many to display in sidebar.

螢幕擷圖

  • Administration interface
  • Edit Post metabox interface
  • Library view modal dialog
  • Quick Edit mode interface
  • Bulk Edit mode interface
  • Optio Publishing Movies Widget administration interface

安裝方式

  1. Upload optio-integration-tools.zip to the /wp-content/plugins/ directory
  2. Unzip the archive
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Fill up the required option settings

常見問題集

How do I use this plugin?

First you need to have an active subscription for Optio Publishing services. You can get one here: http://www.optiopublishing.com/dental-videos

This plugin automatically loads all javascript and css files needed to perform the integration of Optio media library in your dentistry website.
It generates automatically a “video of the day” that is rotated every day inside the Optio Publishing Movies widget in case the current post has no related videos
defined. The definition of the related videos is made via a custom field attached to the respective post, page or custom post type.

This plugin offers multiple ways of posts – videos association management. In the Edit Post screen it introduces a specific metabox that allows for videos browsing
and addition/removal tools for the current post. Also a checkbox offers the control to cancel the usage of the association of the videos for that particular post without deleting the
association itself, this being useful for temporary suspension of the function.

Another way to manage the association of videos with posts, pages or custom post types is done via Quick Edit screens where both Quick Edit and Bulk Edit modes can be used. Functionality
is similar to one presented above.

The Optio Publishing Movies widget can be inserted into a sidebar/widgetized area. At the admin interface the plugin can be activated in various contexts, besides the single post/pages/custom post types.
Therefore the Optio Publishing Movies widget can function in homepage, archive pages, search pages, tag pages, category pages, author pages, etc. In case some context is disabled the widget can be automatically taken out
of view. This is done by using the Widget Logic plugin (https://wordpress.org/extend/plugins/widget-logic/) and by manual insertion of this logic statement for Optio Publishing Movies widget:
global $optiodisplay; return $optiodisplay;

In single pages the Optio Publishing Movies widget will render the video of the day in case there is no association defined for the current post. If there is an association defined, the associated video thumbnails
will be rendered in the original order of the video catalog/library. This will keep proper order of videos such as in the concept of Introduction -> Problem -> Solution.

The usage of shortcodes is quite trivial, they will be rendered in the place of usage as described in the “Plugin Description” section.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

0.1

Incipient version

0.2

Fixed bug with SSL pages when one script from Optio website was loaded without SSL

0.3

Fixed some bugs with widgets.
Added width and margin control to the widget. This way if there are more than one video to be shown they will be displayed in pairs with smaller
icons. Please adjust margin low enough so the pair videos will be displayed side by side.

0.4

Updated niroModal library to fix compatibility with latest jQuery version

0.5

Code brushed, tested to 4.7