Plugin Directory

Changeset 907193


Ignore:
Timestamp:
05/03/2014 12:32:25 AM (12 years ago)
Author:
schedulista
Message:

Plugin v2

Location:
schedulista-shortcode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • schedulista-shortcode/trunk/readme.txt

    r609065 r907193  
    33Contributors: Felix Livni
    44Plugin Name: Schedulista Shortcode
    5 Plugin URI: http://www.schedulista.com
    6 Tags: schedulista, form, shortcode, scheduling, online scheduling
    7 Author URI: http://www.schedulista.com
     5Plugin URI: http://www.schedulista.com?utm_source=wordpress-plugin
     6Tags: online scheduling, online scheduling software, schedulista, form, shortcode, scheduling
     7Author URI: http://www.schedulista.com?utm_source=wordpress-plugin
    88Author: Schedulista
    99Requires at least: 2.6
    10 Tested up to: 3.3.1
    11 Stable tag: 1.0
    12 Version: 1.0
     10Tested up to: 3.8.3
     11Stable tag: 2.0
     12Version: 2.0
    1313License: GPL
    1414
     
    2222WordPress Setting GUI - no file editing at all.
    2323
    24 A subscription to the [Schedulista](http://www.schedulista.com/) online scheduling service is required.
     24A subscription to the
     25[Schedulista](http://www.schedulista.com/?utm_source=wordpress-plugin) online scheduling service is required.
    2526
    2627Not 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.
     28Trial
     29Account](https://www.schedulista.com/businesses/sign_up?utm_source=wordpress-plugin) and see for yourself.
    2830
    2931After you install the widget, you can copy the shortcode with the parameters
     
    3234WordPress form.
    3335
     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  
    3535
    3636function 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'
     40src='http://www.schedulista.com/assets/schedule_button.png' alt='Online
     41Scheduling Software'>
     42</a>
     43EOS;
    4044    return $html;
    4145}
    4246
    4347function 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"
     50src="https://www.schedulista.com/schedule/$code?mode=widget"
     51allowtransparency="true" frameborder="0" scrolling="no" width="100%"
     52height="900px"></iframe>
     53<script id="schedulista-widget-script-00" type="text/javascript"
     54src="https://www.schedulista.com/schedule/$code/widget.js"></script>
     55EOS;
    4656    return $html;
    4757}
Note: See TracChangeset for help on using the changeset viewer.