Optio Integration Tools
This plugin integrates Option Publishing videos in your dentistry site by means of shortcodes.
This plugin integrates Option Publishing videos in your dentistry site by means of shortcodes. The following shortcodes are available to use:
- complete library [optio type="library" scope="all"]
- 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"]
- lightbox single video [optio type="single" scope="dentistry/missing_tooth/implant_fixed"]
- option to use widget instead or in combination with shortcodes. Useful when multiple videos are related to the current post or page
- instructions and assistance for creation of Optio videos tab on your Facebook page (the tab will run as iframe with canvas from your website)
|Tags||cosmetics, dentistry, kids, lightbox, optio, orthodontics|
- Unzip the archive
- Activate the plugin through the 'Plugins' menu in WordPress
- Fill up the required option settings
Fixed bug with SSL pages when one script from Optio website was loaded without SSL
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.
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 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 (http://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.
To Do List
- Add "Do not use Optio on this post" checkbox in Quick Edit and Bulk Edit modes.
- Add filtering and pagination to the videos library (admin mode)
- Add proper comments to the whole plugin code
- Add possibility to change the default description for individual videos
- Add gallery shortcode to display the associated movies when they are too many to display in sidebar.