Insert the LiveRacers Live Widget on your site via a WordPress widget or shortcode.
- Download the .zip file from the repository
- Put the contents of the .zip file into your wp-content/plugins folder
- Enable the plugin from the WordPress Admin
The WordPress widget allows you to insert the LiveRacers Live Widget into any widgetized area in your site's theme. All the settings are available directly in the widget UI.
You can also use the shortcode lr_livewidget
to insert the Live Widget into any shortcode enabled content area or via do_shortcode()
in PHP code.
Example: [lr_livewidget url="http://efnetsimracing.liveracers.com" theme="dark"]
Supported attributes:
url
- String, required: the full URL to your LiveRacers domaintheme
- String:"light"
(default) or"dark"
orientation
- String:"vertical"
(default) or"horizontal"
width
- Numeric: width of the widget in pixels (default = 200)canjoin
- String:"true"
(default) or"false"
; whether or not to show the "Join" link