How do I display the schedule widget in week view?

The schedule widget defaults to displaying the day view. By editing the widget code, you can choose to display the schedule widget in the week view. Once you have embedded the widget to your site, you will need modify the widget code to change the type from "schedule" to "schedule/week".

Displaying the schedule widget in week view

  1. Embed the schedule widget on your marketing page. 
  2. Once the widget has been added, view the code.
  3. Within the code, go to type line.
  4. From here, add /week to the end of schedule. 
    <script src="https://widgets.pike13.com/widget.js"></script>
    <div id="pike13-widget-container"/>

    <script>
    Pike13Widget({
    elementId: "pike13-widget-container",
    type: "schedule/week",
    useHashRoutes: false,
    subdomain: "Gym",
    date: {
    start: 0,
    end: 30,
    },
    style: {
    businessColor: "#008ab4"
  5. Once type has been updated, the schedule widget will appear in the week view.