Skip to content
/ ms-gcal Public

Import a public google calendar into a homepage

License

Notifications You must be signed in to change notification settings

ms-sk/ms-gcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ms-gcal

Import a public google calendar into a homepage.

Images

Example Image

Example Image

Examples

To add the calendar to your WP page, use the following shortcut.

	[ms_cal_lv apikey="yourApiKey" calendarid="yourCalendarId" theme="themeing"]

if you don't use WP, just include all scripts in the js folder to your homepage and trigger the load method.

    <script src="style/cal.css"></script>
	<script src="js/uriBuilder.js"></script>
	<script src="js/divBuilder.js"></script>
	<script src="js/calendar.js"></script>
	<script src="js/main.js"></script>
	<script> load(yourApiKey, yourCalendarId, divId, themeing); </script>

Parameters

  • apikey - The google calendar API key.
  • calendarid - The google calendar identifier.
  • divId - The div identifier. This is not necessary when the WP shortcut is used, as the shortcut creates a div identifier.
  • theme - The theming currently available options.
    • empty
    • dark
    • orange
    • card

Theming

To apply your own style feel free add it to the style folder located in the source directory. If you want to have your own style added to the plugin, feel free to create a pull request.

About

Import a public google calendar into a homepage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published