We'll create fresh WordPress site with MJM Clinic installed. You have 20 minutes to test the plugin after that site we'll be deleted.
For health clinic and related websites, this plugin extends the WordPress CMS to allow for the addition of many clinic related features including service pages with booking forms, related health conditions, clinic locations, staff/doctor pages, client feedback and more.
All contact forms added by this plugin work with the Askismet WordPress plugin to protect from spam.
Numerous sidebar widgets have been included to help show off your services, health conditions info, clinic locations etc.
[mjm-clinic-booking-form]
Output an ajax form, can have more than one per page without conflicts.
Optional attributes = [‘service’, ‘location’, ‘no_service_select’, ‘no_location_select’]
Example Usage:
[mjm-clinic-booking-form service=’cold-flu’ location=’my-clinic’ no_service_select=1 no_location_select=1]
The above will generate a form for the given service and location (slugs), and hide/disable the options for the user to select/change the service or location.
Without any attributes the form will show drop downs for location and services, and detects the most relevent
form state for the page.
[mjm-clinic-location-map]
Outputs a google map for a given location.
Optional attributes = [‘location’, ‘id’, ‘height’, ‘width’]
‘width’ for map display, eg. 200px or 50%
[mjm-clinic-condition-list]
Outputs a searchable list of conditions
Attribute values:
[mjm-clinic-service-box-links]
Outputs a presentation of categories and services. Use this on your services page.
Attribute values:
[mjm-clinic-disclaimer]
Outputs the disclaimer text, editable in the settings admin area. Uses overidable template ‘shortcode-disclaimer
.php’
[mjm-clinic-staff]
Outputs a list of staff (doctors, therapists etc).
Optional attribute values:
Example usage [mjm-clinic-staff staff_types=”‘doctor’,241″ locations=”matts-house,15″ services=”detox-programme,2745″]
The above will output all staff of either specified staff_type who work at any of the two specified locations and who provide either of the two services specified.
Without any attributes, all staff will be output.
There are a number of helper functions that can be used in your theme, which are found in inc/func.php
.
All plugin generated output includes an abundance of css classes and id’s all of which use mjm-clinic prefixes to prevent conflicts with any other plugins or themes.
MJM Clinic works out of the box, but theme developers can easily over-ride the default presentation styles and templates.
TO OVERRIDE THE DEFAULT CSS
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/css/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
public.css
TO OVERRIDE THE BOOKING FORM JS
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/js/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
booking_form.js
TO OVERRIDE THE BOOKING FORM HTML
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/views/templates/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
shortcode-booking-form.php
TO OVERRIDE THE [mjm-clinic-service-box-links] HTML
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/views/templates/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
shortcode-boxlinks-service.php
shortcode-boxlinks-service-category.php
TO OVERRIDE THE [mjm-clinic-condition-list] SEARCHABLE CONDITIONS HTML
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/views/templates/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
shortcode-condition-list.php
TO OVERRIDE THE [mjm-clinic-staff] HTML
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/views/templates/ to {YOUR-THEME-DIR}/mjm-clinic/ . Customise away.
shortcode-staff-list.php
TO CUSTOMISE THE CATEGORY PAGES
Copy the following files from {MJM-CLINIC-PLUGIN-DIR}/views/templates/ and place them in the root of your theme folder. Customise away.
taxonomy-mjm_clinic_service_category.php
taxonomy-mjm_clinic_location.php
taxonomy-mjm_clinic_indication.php
TO CREATE YOUR OWN SERVICE, CONDITION, FEEDBACK AND CASE STUDY TEMPLATES
Create the following files in your themes root directory. Use your themes single.php as reference for setting up a single post template.
single-mjm_clinic_service.php
single-mjm_clinic_condition.php
single-mjm_clinic_feedback.php
single-mjm_clinic_casestudy.php
This plugin was created for clinics to promote services and products in a way that inter-relates with information on health conditions and symptoms.