Git Product home page Git Product logo

wp-sd-google-calendar's Introduction

wp-sd-google-calendar

Wordpress Plugin for combining public Google Calendars for display created by SmartwareDesign.com

The user can combine multiple public Google calendars into one feed to use on the REST API or generate one agenda calendar on the Wordpress frontend.

The user can have multiple combined calendars to use on different API calls or front end views with different shortcodes. This plugin allows the user to enter a list of all public Google Calendars, the number of look-ahead days, and the timezone for displaying the dates and times of the calendar.

The RESTful call generates JSON that looks like the following as an example: { 'date':'2016-03-31', 'events':[ {'title':'Mayor's Masters Reception', 'link':'https://calendar.google.com/calendar/event?eid=X2Q...&ctz=America/New_York'}, {'time':'10am', 'title':'AARP Tax Help', 'link':'https://calendar.google.com/calendar/event?eid=aWwy...&ctz=America/New_York'} ] }

The RESTful call can be made by using a custom url to: /wp-json/sd-google-calendar/v1/sdcalendar/

The agenda calendar can be inserted to your wordpress post using the shortcode: [sd_show_calendar id=""]

There's also a "type" parameter which is defaulted to "agenda" for now but will be further developed to eventually use full calendar displays for scrolling different months.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.