OM Streaming Services
OM Streaming Services Documentation
Scope
This document is intended as quick reference document for implementing the OM Streaming Services plugin’s shortcodes and custom Elementor widgets.
The documentation is not intended to provide information on customizing the provided shortcodes, widgets or Elementor Templates.
Overview
The OM Streaming Services was developed to integrate the Open.Media SaaS services with client WordPress websites.
The plugin provides an array of Shortcodes, Elementor widgets and Templates that can be used on your website to provide your constituents access to Live and Past legislative streaming sessions.
Core Plugins
- Core Plugin that is installed on all OPEN.MEDIA created websites.
Text Shortcode Examples
Nullam tincidunt adipiscing enim. Phasellus accumsan cursus velit. Nullam quis ante. Curabitur a felis in nunc fringilla tristique. Vivamus laoreet.
Aliquam erat volutpat. Curabitur nisi. Nullam accumsan lorem in dui. Integer ante arcu, accumsan a, consectetuer eget, posuere ut, mauris. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum.
Dynamic Header Text
[ om_session_title fb="< Enter Fallback Text >" ]
- If there are live legislative session in progress, "Past" will be replaced with "Live".
Code:
Output:
Watch Archived Legislative Sessions
Dynamic Post Counts
[ om_post_counts cpt="< post-type >" title="< Post Friendly Name >" display="< Output Options: full, details, published, draft, review >" ]
Code:
Output:
- 6Published
- 0Draft(s)
- 0In Review
Session Shortcode Examples
Nullam tincidunt adipiscing enim. Phasellus accumsan cursus velit. Nullam quis ante. Curabitur a felis in nunc fringilla tristique. Vivamus laoreet.
Aliquam erat volutpat. Curabitur nisi. Nullam accumsan lorem in dui. Integer ante arcu, accumsan a, consectetuer eget, posuere ut, mauris. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum.
Dynamic Button
[ om_session_button_html session="< Enter a Chamber Name: house || senate >" tab="< Enter target Tab name >" ]
- If there are live legislative session in progress the button text will pe appended with "- Live".
Code:
Dynamic Buttons
[ om_live_session_document_button_htm type="< Enter document type or Archive >" session="< enter session id or leave blank >"]
Code:
Output:
Dynamic Audio Link
[ om_session_audio_archive_link chamber="< Enter a Chamber Name: house || senate >" text="< Add Your Text Here >"]
Code:
Legislature Session Archive
[ om_session_archive session="< Enter a Chamber Name: house || senate >"]
Code:
Shortcodes Embedded in a Tab widget
Looking for audio-only? Click here to listen to meetings.
Looking for audio-only? Click here to listen to meetings.
OM Elementor Widgets & Templates
The OM Elementor Widgets are a collection of a highly configurable widget specifically designed for use in the Elementor Website Builder.
The widgets were created using Unlimited Elements for Elementor’s powerful widget editor tools.
These and future widgets will be included in the OPEN MEDIA Streaming Services Elementor ThemeKit and will be automatically installed once Unlimited Elements plugin has been installed.
OM Team Member Flip Box
The OM Team Member Flip Box widget is a highly configurable interactive card widget specifically designed for use in Elementor Post Loop Templates.
The provided Elementor Loop – Item template has been configured to draw it’s data from the Team Member Post Type.
But as shown below, the widget can be used as a stand alone flip card or integrated into an Elementor Loop Item template.
Default Widget
Stand Alone Widget
Senior Videographer
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Dynamic Loop
Live Sessions Dropdown Button
The Live Session Dropdown Button global widget is a highly configurable interactive button widget specifically designed for using Live session jSON data to build a dropdown list buttons for any defined meetings / “Categories”.
To populate the Dropdown Button set the Content tab’s configuration to:
- Iten Source: JSON or CSV
- JSON or CSV Location: Dynamic Textarea
- JSON or CSV Items Data:
print get_live_session_categories_button_data('Category','');
- Title Source: Item Field Name
- Title Item Field Name: “Category”
- Link Source: Item Field Name
- Link Item Field Name: “Link”
If you want to hide the button if there are no live meetings or sessions you can set the Visibility settings to use the following Custom Conditions trigger.
json_decode($_SESSION['OM_SERVICE_LIVE_DATA']) -> totalSize > 0 ? true : false;
OM Documents Button Group
The OM Documents Button Group widget is a highly configurable interactive button widget specifically designed for using Live session jSON data to build a download buttons for any single, or all documents attached to the session.
But as shown below, the widget can be used as a static Button Item list or a even a single button.
NEWS Posts
The NEWS Article Custom Post Type (CPT) allows you to to post pertinent information for your constituents in a professional and engaging manner.
The NEWS CPT is fully compatible with Elementor’s Templating services and other Page Builder data widgets.
The CPT and underlying Elementor Templates can be implemented in just a few minutes.
- News Source: Omaha World Herald
- Civic Administrator
- March 31, 2023
- Civic Administrator
- March 31, 2023
- News Source: OM Streaming Services
- Civic Administrator
- March 31, 2023
OM IFrame
The OM IFrame widget was created to allow you to create page content, templates or embed it as an Elementor nested widget.
The Widget will display a single legislative chamber’s archive.