This plugin provides access to UK Theatre Web's unique database of what's on information for the UK. Specialising in live performance (theatre, opera, dance, concerts) and exhibitions. The data includes details of productions, cast and venues and includes a searchable archive going back to the mid-1990s.
Ticket information is provided by the SeatChoice ticket finder service through affiliate links to checked and safe ticket agents and retailers - these affiliate links are explicitly labelled with the Ticket Supplier's details and capabilities. The SeatChoice engine searches all major suppliers and provides both live availability and price searches. Information is provided on offers, tickets, meal deals and theatre breaks. All ticket, offer and break details are provided though affiliate links to appropriate suppliers - it is hoped soon to be able to offer earnings-sharing with users of this widget.
The system operates in English, no translations of the database are available so no translations of the widget have been provided.
Widget
The widget can be dropped into your template and can be set to display a number of items
- Top London Shows
- Top Regional Shows
- A single show, venue, tour or "work"
- A search box
The title and content of each instance of the widget can be set in the admin area.
Shortcode
In the following examples, L327 (Phantom of the Opera) represents the Qtix code for the event. Qtix codes can be found from the listings pages on
UKTW and may refer to a venue, work, production (tour) or listing (these terms are
defined here.
- [uktw qtix="L327" format="title"] - retrieves the title for L327 and links it to the UK Theatre Web page
- [uktw qtix="L327" format="image"] - creates a linked image for L327
- [uktw qtix="L327" format="title"]click here for details[/uktw] - creates a link
- [uktw format="bio"]Trevor Nunn[/uktw] - creates a link to the Trevor Nunn search page
- [uktw format="search"]les mis[/uktw] - creates a link to search results for "les mis"
- [uktw format="search" key="les miserables"]search les mis[/uktw] - creates a link to search results for "les miserables"
- [uktw format="town" key="glasgow"]search glasgow[/uktw] - creates a link to search results for towns/venues matching "Glasgow"
- [uktw format="town"]glasgow[/uktw] - creates a link to search results for townsvenues matching "Glasgow"
All external links are target="uktw".
Template Tags
Display the title of a Qtix code
<?php echo ( uktw_qtix_tag( 'L322', 'title' ) ) ; ?>
Get the link to a Qtix code
<?php echo ( uktw_qtix_tag( 'L322', 'link' ) ) ; ?>
Combined example
<?php echo ( "<a href = '" . uktw_qtix_tag( 'L322', 'link' ) . "' >" . uktw_qtix_tag( 'L322', 'title' ) . "</a>" ) ; ?>
Additional template tags will be provided eventually, if required.
- Upload the files to a new sub-directory
/wp-content/plugins/uktw
- Activate the plugin through the 'Plugins' menu in WordPress
- You now have access to new Shortcodes, template tags and widgets
The single setting "Affiliate" may be used in future to track sales and provide feedback to those who have installed the plugin. Set it to an alphanumeric name, e.g. FREDDIBNER and we will start tracking shortly.