MotorsportReg.com Wordpress Calendar Plugin
To share some love, we've developed a plugin for Wordpress to query, cache and display driving and social event listings on any Wordpress site. Customers on our Premium plan are entitled to embed their event listings inside their own website, tailor the fields and look and feel simply by installing our plugin.
Who Is This For?
This is for any organization using Wordpress to run a site or blog. It will require the ability to upload files to your /wp-content/plugins folder and activate the plugin in your Wordpress Admin. No programming skills required.
Begin by downloading the plugin and extracting the files into a folder on your Wordpress server where you store your other plugins like wp-content/plugins/msr-calendar:
Enable the plugin in the Wordpress admin and you will have a new menu item for MSR Calendar. The settings page looks like:
You need only one bit of information to use the plugin, the URL to retrieve event listings from our REST API. The URL looks like:
You can obtain your ID from our customer support if you don't have it. Simply paste that URL into the admininistrative menu and your calendar is configured. You can optionally adjust the other settings such as which columns in the table to display. Otherwise, you can embed the calendar in any post or page on your Wordpress site by using the shortcode:
Alternatively, you can use the msr_calendar() PHP function in any theme template or PHP file inside of <?php ... ?> tags. The default styling looks like:
For styling, check the calendar/widget.css file. Key CSS classes include:
- .msrcalendar h2
- The header which displays the calendar title from the settings
- .msrcalendar table thead th
- Column headers in the table
- .msrcalendar table tbody td
- Calendar text for name, location, dates, etc.
Licensing & Attribution
Use of our Wordpress plugin has only one requirement: that you leave the footer link back to MotorsportReg.com unedited. Thanks and enjoy!