Not happy with current offerings, I created a plug to add an events calendar to my client’s sites. You can check out the demo events calendar here.
A few features:
- Many types of repeating events.
- Easy to set up. Let the plugin know what page name you want to use and your good to go.
- Exclude events from certain dates every year such as holidays. You can also include dates to an event if it doesn’t fall on a specific repeat pattern.
- Each event has its own page. Great for SEO and direct linking to events for more information.
- Add unlimited events. Great for fitness centers, schools, organizations, and companies.
- Create categories for easy viewing and sorting.
- Automatic print view to for easy printing and saving ink.
Please let me know if you find any bugs or have some suggestions. I’ve built it from the requirements of my clients and am always looking to improve it.
- Unzip the `cgm_calendar.zip` file.
- Upload the the `cgm_calendar` folder (not just the files in it!) to your `wp-contents/plugins` folder. If you’re using FTP, use ‘binary’ mode.
- In your WordPress administration, go to the Plugins page
- Activate the CGM Calendar plugin and a subpage for CGM Calendar will appear in your Settings menu and also as its own menu.
There are three ways to show the calendar on your site.
- Go to Settings -> CGM Calendar and change the settings to what to you. Set the page name to the url you want to display the calendar and visit http://www.yoursiteurl.com/pagename and it will appear. No page or post creation required
- Add the short code [ cgm-event-calendar ] (with no spaces) to your page or post content you wish to display the calendar
- Use the php function call <?php cgm_event_calendar(); ?> to display the calendar where you wish.
To display upcoming events:
- Go to Settings -> CGM Calendar and set the Calendar URL to the full url where the calendar resides. Default would be http://www.yoururl.com/calendar
- Modify the List Format setting if desired. Note that you will still need to wrap any list in a ul/ol when called.
- Use the function echo cgm_list_upcoming_events(array(‘num_events’ => 5, ‘tag_id’ => ’1,2′)); and change the num_events to how many you want to show and the tag_id list to the tagged events, or remove it to show all.
- You may also use the short code [ cgm-upcoming-events num_events=10 tag_id=1,2 ] to display the list.
If you wish, you can override the default css and print view template by copying the files, css/calendar.css and print_view.php to the base of your template directory.
Go to Settings -> CGM Calendar
- Page Name – Sets the default url to display the calendar with no page or post creation required
- Default View – Sets the default view of the calendar, by Month or Week when visitors view your calendar
- Start Time – Sets the time that the weekly calendar will start on. If you set the start time for 8am and have an event at 7am, the event will not show on the weekly calendar.
- End Time – Sets the time that the weekly calendar will end on. If you set the end time for 5pm and have an event at 6pm, the event will not show on the weekly calendar.
If you like the plugin, do me a favor and rate it too!
If you have trouble with the plugin, please make sure you reread the directions above before leaving a comment. If you do make a comment about an issue you are having, please provide as much detail as you can about the issue and what you’ve done. Saying it doesn’t work, doesn’t help and your comment will go unanswered.
If you would like custom additions / changes, please use my contact form to inquire about freelance services.