The correct “WordPress” way of doing it would be to use the_widget template tag to display widgets anywhere you want.
so in you case you would something like this:
$instance['account'] = 'account name'; //Ustream channel name
$instance['online'] = 'http://www.online_image.URL';
$instance['offline'] = 'http://www.offline_image.URL';
the_widget('wp_ustream_status', $instance);
Related Posts:
- Api external with wordpress
- How to convert Currency from USD to other IP Based currency in Php function
- Show function to super admin
- How to modify WCMP Rest API response?
- How to use JSON data from URL into table on my wordpress website
- creating html reusable blocks via shortcodes
- get current date + 90 days and checking every day
- Adding a new field to the address field type in gravity forms
- wp_remote_get() returns 403 while file_get_contents() does not
- Replacing a plugin function with a custom renamed function doesn’t work
- How to create an input field, and base the output on spreadsheet data? [closed]
- Facebook Messager Plugin
- Limit post creation by role
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- Fatal error: Call to undefined function cmsms_theme_page_layout_scheme()
- How to call WordPress function other files
- All sites themes functions.php have been changed
- How to disable search as you type plugin suggestions?
- Customize permalink wordpress category id
- Set plugin-values when creating post via REST-API
- Conditional attributes and logic per product category
- Disqus deleted comments are syncing with wordpress but active comments do not
- Admin style for just one plugin in dashboard
- WP Query. Is there a maximum size?
- How to remove custom post type and add category and post name
- WordPress does not show products when the value of post_parent is not 0
- Grab WordPress Salt Data From URL
- Ajax : Call undefined function plugin_function() … can’t call any plugin function
- WordPress get_avatar function not correct working
- WordPress metaboxes – textfield suggestion automatically populated
- bbPress plugin: forum lists not showing in correct order? [closed]
- Which file of wordpress manage plugins functionalities?
- WordPress api call using wp-ajax returns error 400
- How to create an option page for this simple plugin
- Difference and examples of esc_attr__() and esc_attr_e()
- How to set Noindex to all wordpress pages in a catergory?
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- Improving the perfomance of a plugin action
- Display Custom Field Value on Admin Page Column
- List the authors that have written posts in a category
- Load Javascript from Plugin in One Page Only?
- WordPress stats API key
- Is there a best practice remediation for PhpStorm’s warning that void function the_post_thumbnail is used?
- the_tags : can we insert a class
- How to over-ride a file in a plugin? [closed]
- Overwrite category head title
- Great blogs site resources/tutorial for WordPress Developers? [closed]
- How to get plugin name from plugin file location
- Check if variable is set in filter
- Socialite WP plugin, unable to obtain API keys from FB
- Cannot get wpdb data (Error in a simple fuction) [closed]
- How to pass the API key to the client from the database? [closed]
- How to prevent additional code in functions.php to be removed once there is an update?
- Prevent plugin from intruding on wp-json posts api
- Checking the count within a foreach loop
- execute function after one completed
- How to keep variable `$post` to using in another file
- WordPress checkbox and Illegal string offset
- Image change on hover
- Getting a Page via its post-name using WP REST API v2 and Postman
- Passing stored variables to add_filter
- Create a post builder skin in a plugin
- Plugin Development – Functions or Hooks?
- Proper way to use plugin functions in functions.php
- Undefined index: action plugin problem
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- How to reset the plugins without deactivate the plugin
- plugins_url() works everywhere but wp_reqister_script()
- JQuery prepend a function
- Basics of changing plugin output
- Adding class to last list item? Not WP generated
- Replacing global wp_query
- Why can’t I call a (member) function from within a foreach?
- Are there action hooks for comments?
- Help with WP Business Directory Manager Plugin?
- How to set category correctly for a custom post created by a remote API call?
- Integrating boxtal PHP library into a custom WordPress Plugin
- I changed .live() to .on() but change is not reflected on the server
- wp_dequeue_script for a Plugin
- Need to replace Currency Shortforms
- wp_enqueue_scripts
- Return multiple values in a shortcode attribute
- get specific value of a array | PHP
- How to get specific string/value from an array? php [closed]
- Shortcode Attributes to Return different $_POST
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Plugin onclick button activate other plugin
- wc_get_template new template does not showing up
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- WordPress Stock Update Programatically
- Loading a plugin’s js file from functions.php
- Custom API plugin to execute 3rd party API to retrieve data
- 5 PHP Fatal error: Uncaught ArgumentCountError (Cannot Find)
- How can I fetch data from another website to my wordpress website with mysql database
- Activate and deactivate plugin automatically
- add_query_arg not work in admin
- Woocommerce singe product custom gallery output works just on the first slide
- Overriding an Array in a Plugin’s Class/Function from functions.php