Changeset 907193
- Timestamp:
- 05/03/2014 12:32:25 AM (12 years ago)
- Location:
- schedulista-shortcode/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
schedulista.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
schedulista-shortcode/trunk/readme.txt
r609065 r907193 3 3 Contributors: Felix Livni 4 4 Plugin Name: Schedulista Shortcode 5 Plugin URI: http://www.schedulista.com 6 Tags: schedulista, form, shortcode, scheduling, onlinescheduling7 Author URI: http://www.schedulista.com 5 Plugin URI: http://www.schedulista.com?utm_source=wordpress-plugin 6 Tags: online scheduling, online scheduling software, schedulista, form, shortcode, scheduling 7 Author URI: http://www.schedulista.com?utm_source=wordpress-plugin 8 8 Author: Schedulista 9 9 Requires at least: 2.6 10 Tested up to: 3. 3.111 Stable tag: 1.012 Version: 1.010 Tested up to: 3.8.3 11 Stable tag: 2.0 12 Version: 2.0 13 13 License: GPL 14 14 … … 22 22 WordPress Setting GUI - no file editing at all. 23 23 24 A subscription to the [Schedulista](http://www.schedulista.com/) online scheduling service is required. 24 A subscription to the 25 [Schedulista](http://www.schedulista.com/?utm_source=wordpress-plugin) online scheduling service is required. 25 26 26 27 Not sure what Schedulista is or if it will be helpful? Sign up up for a [FREE 27 Trial Account](https://www.schedulista.com/businesses/sign_up) and see for yourself. 28 Trial 29 Account](https://www.schedulista.com/businesses/sign_up?utm_source=wordpress-plugin) and see for yourself. 28 30 29 31 After you install the widget, you can copy the shortcode with the parameters … … 32 34 WordPress form. 33 35 36 == Changelog == 37 38 = 2.0 = 39 * Added support for the embedded widget 40 * New "Schedule Now" button 41 42 = 1.0 = 43 * Add a "Schedule Now" button 44 -
schedulista-shortcode/trunk/schedulista.php
r609065 r907193 35 35 36 36 function createSchedulistaEmbedButton($code) { 37 $html = "<a href='http://www.schedulista.com/schedule/$code'>"; 38 $html .= "<img title='Schedule an Appointment Online' src='http://www.schedulista.com/images/schedule_now_button.png' alt='Schedule an Online Appointment'>"; 39 $html .= "</a>"; 37 $html = <<<EOS 38 <a href='http://$code.schedulista.com/?utm_source=schedule-now-button&utm_medium=wp&utm_campaign=app'> 39 <img title='Schedule an Appointment Online' 40 src='http://www.schedulista.com/assets/schedule_button.png' alt='Online 41 Scheduling Software'> 42 </a> 43 EOS; 40 44 return $html; 41 45 } 42 46 43 47 function createSchedulistaEmbedWidget($code, $width, $height) { 44 $html = "<iframe id='schedulista-widget' src='https://www.schedulista.com/schedule/$code?mode=widget' width='{$width}px' height='{$height}px' allowtransparency='true' frameborder='0' style='border-width: 0px; visibility: visible; background-color: transparent;' onload='this.style.visibility = \"visible\";'>"; 45 $html .= "</iframe>"; 48 $html = <<<EOS 49 <iframe id="schedulista-widget-00" 50 src="https://www.schedulista.com/schedule/$code?mode=widget" 51 allowtransparency="true" frameborder="0" scrolling="no" width="100%" 52 height="900px"></iframe> 53 <script id="schedulista-widget-script-00" type="text/javascript" 54 src="https://www.schedulista.com/schedule/$code/widget.js"></script> 55 EOS; 46 56 return $html; 47 57 }
Note: See TracChangeset
for help on using the changeset viewer.