Changeset 1223261
- Timestamp:
- 08/18/2015 04:07:29 AM (11 years ago)
- Location:
- wp-liveracers/trunk
- Files:
-
- 3 edited
-
includes/wp-liveracers-widget.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
wp-liveracers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-liveracers/trunk/includes/wp-liveracers-widget.php
r935503 r1223261 94 94 <label for="<?= $this->get_field_id( 'theme' ); ?>"><?php esc_html_e( 'Theme', 'wp-liveracers' ); ?></label> 95 95 <select class="widefat" id="<?= $this->get_field_id( 'theme' ); ?>" name="<?= $this->get_field_name( 'theme' ); ?>"> 96 <option value="light" <?= ( $theme == 'light' ) ? 'selected="selected"' : ''; ?>><?php e sc_html_x( 'Light', 'theme name', 'wp-liveracers' ); ?></option>97 <option value="dark" <?= ( $theme == 'dark' ) ? 'selected="selected"' : ''; ?>><?php e sc_html_x( 'Dark', 'theme name', 'wp-liveracers' ); ?></option>96 <option value="light" <?= ( $theme == 'light' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Light', 'theme name', 'wp-liveracers' ); ?></option> 97 <option value="dark" <?= ( $theme == 'dark' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Dark', 'theme name', 'wp-liveracers' ); ?></option> 98 98 </select> 99 99 </p> … … 101 101 <label for="<?= $this->get_field_id( 'orientation' ); ?>"><?php esc_html_e( 'Orientation', 'wp-liveracers' ); ?></label> 102 102 <select class="widefat" id="<?= $this->get_field_id( 'orientation' ); ?>" name="<?= $this->get_field_name( 'orientation' ); ?>"> 103 <option value="vertical" <?= ( $orientation == 'vertical' ) ? 'selected="selected"' : ''; ?>><?php e sc_html_x( 'Vertical', 'orientation', 'wp-liveracers' ); ?></option>104 <option value="horizontal" <?= ( $orientation == 'horizontal' ) ? 'selected="selected"' : ''; ?>><?php e sc_html_x( 'Horizontal', 'orientation', 'wp-liveracers' ); ?></option>103 <option value="vertical" <?= ( $orientation == 'vertical' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Vertical', 'orientation', 'wp-liveracers' ); ?></option> 104 <option value="horizontal" <?= ( $orientation == 'horizontal' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Horizontal', 'orientation', 'wp-liveracers' ); ?></option> 105 105 </select> 106 106 </p> -
wp-liveracers/trunk/readme.txt
r935503 r1223261 3 3 Tags: LiveRacers, simracing 4 4 Requires at least: 3.4 5 Tested up to: 3.9.16 Stable tag: 1.0 5 Tested up to: 4.2.4 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Support for the LiveRacers "Live Widget" as a WordPress plugin.Insert the LiveRacers Live Widget on your site via a WordPress widget or shortcode.10 Insert the LiveRacers Live Widget on your site via a WordPress widget or shortcode. 11 11 12 12 == Description == … … 22 22 Example: `[lr_livewidget url="http://efnetsimracing.liveracers.com" theme="dark"]` 23 23 24 Supported attributes: 25 * `url`: Required, the full URL to your LiveRacers domain 26 * `theme`: String, `light` (default) and `dark` 27 * `orientation`: String, `vertical` (default) and `horizontal` 28 * `width`: Numeric, width of the widget in pixels (default = 200) 29 * `canjoin`: String, `true` (default) or `false`; whether or not to show the "Join" link 24 = Shortcode attributes = 25 26 * `url` - String, required: the full URL to your LiveRacers domain 27 * `theme` - String: `"light"` (default) or `"dark"` 28 * `orientation` - String: `"vertical"` (default) or `"horizontal"` 29 * `width` - Numeric: width of the widget in pixels (default = 200) 30 * `canjoin` - String: `"true"` (default) or `"false"`; whether or not to show the "Join" link 30 31 31 32 == Installation == … … 44 45 == Changelog == 45 46 47 = 1.0.1 = 48 * Fix missing output for theme and orientation drop-downs in the widget 49 46 50 = 1.0 = 47 51 * Initial release -
wp-liveracers/trunk/wp-liveracers.php
r935503 r1223261 4 4 Plugin URI: https://github.com/pglewis/wp-liveracers 5 5 Description: Support for the LiveRacers "Live Widget" in WordPress 6 Version: 1.0 6 Version: 1.0.1 7 7 Author: Phil Lewis 8 8 License: GPLv2 or later … … 10 10 Domain Path: /languages/ 11 11 12 Copyright 2014 Phil Lewis12 Copyright 2014-2015 Phil Lewis 13 13 14 14 This file is part of WordPress LiveRacers
Note: See TracChangeset
for help on using the changeset viewer.