=== OddsTrellis Racing Odds ===
Contributors: oddstrellis
Tags: racing, odds, horse racing, greyhounds, sports
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show your OddsTrellis live racing odds displays on your WordPress site with one shortcode.

== Description ==

OddsTrellis hosts branded racing odds displays (next to go, a race card, a whole meeting, or results) and keeps
the prices current. This plugin adds the [oddstrellis] shortcode so you can place a display in any post, page or
widget area without editing HTML.

You need an OddsTrellis account (Display or Publisher plan): https://oddstrellis.com

== Installation ==

1. In WordPress, go to Plugins > Add New > Upload Plugin and upload oddstrellis-wordpress.zip, then activate it.
2. In your OddsTrellis console (https://oddstrellis.com/console), open Displays, create or edit a display, and add
   your website's address (for example https://www.yoursite.com.au) under "Websites allowed to show it".
3. Copy the display's embed code, then add a Shortcode block where you want it and paste the code (or just the
   display ID inside it, which starts with wgt_) into id="":

   [oddstrellis id="wgt_1a2b3c4d" height="420" title="Next to go"]

== Frequently Asked Questions ==

= The display is blank or says it refused to connect =

Add your site's exact address (including https:// and www if you use it) under "Websites allowed to show it" on
the display in the console. Displays only appear on the websites you list.

= Can I paste the whole embed code instead of the ID? =

Yes. The shortcode finds the display ID in whatever you paste into id="".

= Does the plugin collect data? =

No. It adds an iframe that loads your display from oddstrellis.com and a small script that sizes the frame to fit.

== External services ==

Displays are served by OddsTrellis (https://oddstrellis.com). When a page with a display loads, the visitor's browser
requests the display and https://oddstrellis.com/embed.js from oddstrellis.com. Terms: https://oddstrellis.com/terms.
Privacy: https://oddstrellis.com/privacy.

== Changelog ==

= 1.0.0 =
* The [oddstrellis] shortcode.
