Title: MJM Clinic
Author: damanic
Published: <strong>December 4, 2014</strong>
Last modified: March 7, 2024

---

Search plugins

![](https://ps.w.org/mjm-clinic/assets/banner-772x250.png?rev=1260168)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/mjm-clinic/assets/icon-256x256.png?rev=1260156)

# MJM Clinic

 By [damanic](https://profiles.wordpress.org/damanic/)

[Download](https://downloads.wordpress.org/plugin/mjm-clinic.zip)

 * [Details](https://en-ca.wordpress.org/plugins/mjm-clinic/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/mjm-clinic/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/mjm-clinic/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/mjm-clinic/#developers)

 [Support](https://wordpress.org/support/plugin/mjm-clinic/)

## Description

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.

#### The MJM Clinic plugin allows you to

 * Create numerous Clinic/Service locations, with their own contact details/forms,
   address, maps.
 * Booking Forms are easily added for any service/location using shortcodes and 
   widgets.
 * Organise your services in hierarchical categories
 * Create Service/Therapy listings, assign them to one or more locations, one or
   more categories and one or more indication/symptom tags.
 * Create Staff Member pages for Doctors and Therapists.
 * Relate Doctors/Therapist with Services
 * Create Patient feedback entries and assign them to a service and/or health condition.
 * Create Case Studies and assign them to a health condition and/or service.
 * Create Indication tags to link services, conditions, patient feedback, case studies,
   products etc.
 * Enable/Disable combinations of the above features.
 * Enable/Disable comments on your service listings.

#### Front end control of design

 * All shortcode/widget output has been given a thoughtful set of classes and id’s
   to allow you to fully control and customise the design.
 * CSS/JS/HTML can easily be overridden by creating a folder in your theme: {YOUR-
   THEME-DIR}/mjm-clinic/.

#### Spam protection

All contact forms added by this plugin work with the Askismet WordPress plugin to
protect from spam.

#### Widgets

Numerous sidebar widgets have been included to help show off your services, health
conditions info, clinic locations etc.

 * Assigned Case Studies – can be assigned to feature on a specific service or a
   health condition page
 * Assigned Condition – Health conditions can be assigned to feature on any number
   of specified service listings
 * Assigned Patient Feedback – can be assigned to feature on a specific service 
   or a health condition page
 * Assigned Services – Displays a list of services that were specifically assigned
   to a health condition, patient feedback or case study
 * Clinic Locations – Displays clinic locations where a service/therapy is available
    - TO OVERRIDE THE HTML copy {MJM-CLINIC-PLUGIN-DIR}/views/templates/widget-service-
      locations.php to {YOUR-THEME-DIR}/mjm-clinic/
 * Indication Tags – Displays a list of indication tags for service, condition, 
   feedback and case study single posts
 * Location Map – Displays a map on a location taxonomy page
 * Related Casestudy – Displays casestudy on single tax and post pages that share
   indications
 * Related Feedback – Displays feedback on single tax and post pages that share 
   indications
 * Related Health Conditions – Displays conditions on single tax and post pages 
   that share indications
 * Related Services – Displays services on single tax and post pages that share 
   indications
 * Service Categories – A list or dropdown menu of clinic service categories.
 * Service Session Info – Displays a services session info, price
    - TO OVERRIDE THE HTML copy {MJM-CLINIC-PLUGIN-DIR}/views/templates/widget-service-
      session-info.php to {YOUR-THEME-DIR}/mjm-clinic/
 * Shared Symptoms – Displays other conditions that share symptoms (indication tags)
 * Conditions List/Menu – Displays links to conditions

#### Shortcodes

    ```
    [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’]

 * ‘location’ can be a clinic location id or slug.
 * ‘id’ can be set to a unique value if you ever find conflicts with other maps 
   on the same page.
 * ‘height’ for map display, eg. 200px or 50%
 * ‘width’ for map display, eg. 200px or 50%
 * [mjm-clinic-condition-list]
    Outputs a searchable list of conditions Attribute
   values:
    - searchable_title : 1 or 0 (default: 1)
 *  - searchable_excerpt: 1 or 0 (default: 0)
 *  - searchable_tags: 1 of 0 (default: 1)
 *  - show_excerpt: 1 or 0 (default: 1)
 *  - show_indication_tags: 1 or 0 (default: 1)
 *  - show_image: 1 or 0 (default: 0)
 *  - paginate: integer (default: 200) , amount of conditions to show per page. 
      0 = no pagination
 * [mjm-clinic-service-box-links]
    Outputs a presentation of categories and services.
   Use this on your services page. Attribute values:
       * category : slug or term_ID , optional parent , if none given the top level
         category/services will be shown.
 * [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:
    - staff_types: one or more id/slug for staff type taxonomy. Separated by commas
      if more than one.
 *  - locations: one or more id/slug for clinic location. Separated by commas if
      more than one.
 *  - services: one or more id/slug for service. Separated by commas if more than
      one.

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.

#### Helper Functions

There are a number of helper functions that can be used in your theme, which are
found in `inc/func.php`.

#### Theme Integration

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`

#### About this plugin

This plugin was created for clinics to promote services and products in a way that
inter-relates with information on health conditions and symptoms.

## Screenshots

[⌊Admin View⌉⌊Admin View⌉[

Admin View

[⌊TwentyFourteen Clean Install, widgets only.⌉⌊TwentyFourteen Clean Install, widgets
only.⌉[

TwentyFourteen Clean Install, widgets only.

[⌊Form Validation and date selection⌉⌊Form Validation and date selection⌉[

Form Validation and date selection

[⌊Location Page⌉⌊Location Page⌉[

Location Page

[⌊Searchable Health Conditions⌉⌊Searchable Health Conditions⌉[

Searchable Health Conditions

[⌊Default service box output⌉⌊Default service box output⌉[

Default service box output

## Installation

 1. Upload `mjm-clinic.zip` to the `/wp-content/plugins/` directory or use the built-
    in plugin installer on the WordPress Plugin Dashboard page.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Have a look at the plugin settings, thats it!
 4. Optional: Install the taxonomy-images plugin if you would like images for any of
    your categories/taxonomies.

## FAQ

[Ask some]

## Reviews

![](https://secure.gravatar.com/avatar/54672966c6c9db8fe01b5dc40e80c684ff2b3edc5360df831ef931d21d89f662?
s=60&d=retro&r=g)

### 󠀁[Perfect plugin for medical laboratory business](https://wordpress.org/support/topic/perfect-plugin-for-medical-laboratory-business/)󠁿

 [Vivek Narayanankutty Nair](https://profiles.wordpress.org/vismithams/) October
10, 2021

We like this simple plugin but plugin has not been updated for the last 2 years.

![](https://secure.gravatar.com/avatar/0cecb225b7bb7b9ec688c1a13deafc8a974643f9b0d2bb7bf42e3b932c3540d8?
s=60&d=retro&r=g)

### 󠀁[Just Perfect Fit](https://wordpress.org/support/topic/just-perfect-fit/)󠁿

 [toremo](https://profiles.wordpress.org/toremo/) September 14, 2018

It looks and works great and brings essential parts for medical doctor/therapist
sites together in one plugin

![](https://secure.gravatar.com/avatar/7a2b937fa504d1d699c4766cff2474dd63566c6323cd95718263f3a8cb2a6b16?
s=60&d=retro&r=g)

### 󠀁[I like it](https://wordpress.org/support/topic/i-like-it-366/)󠁿

 [damanic](https://profiles.wordpress.org/damanic/) February 8, 2017

Contribute to this project on github https://github.com/damanic/mjm-clinic

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/mjm-clinic/reviews/)

## Contributors & Developers

“MJM Clinic” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ damanic ](https://profiles.wordpress.org/damanic/)

[Translate “MJM Clinic” into your language.](https://translate.wordpress.org/projects/wp-plugins/mjm-clinic)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mjm-clinic/), check
out the [SVN repository](https://plugins.svn.wordpress.org/mjm-clinic/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/mjm-clinic/) by 
[RSS](https://plugins.trac.wordpress.org/log/mjm-clinic/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * initial release

#### 1.0.2

 * updated readme.txt

#### 1.0.3

 * small bugfix with single templates look up.

#### 1.0.4

 * fixed issue where some queries using get_posts did not make proper use of ‘posts_per_page’
   parameter.

#### 1.0.5

 * fixed issue with custom taxonomy template looks ups

#### 1.0.6

 * fixed issue with inbuilt booking forms not using the locations email address.
 * updated custom field `session_info` to HTML WYSIWYG input, for services.
 * updated session info widget to display html.

#### 1.0.7

 * fixed template name issue: `taxonomy-mjm_clinic_service_location` change to `
   taxonomy-mjm_clinic_location`

#### 1.0.8

 * removed reference to old akismet check

#### 1.0.9

 * removed all php short_open_tags in case compatibility issues

#### 1.0.10

 * removed `menu_position` on clinic menu entry, to avoid possible conflicts with
   other plugins

#### 1.0.11

 * fixed service location map widget output, was not being output to screen after
   recent switch from php short_open_tags to full. `<?= to <?php echo`.

#### 1.1

 * added staff member listings to allow for doctor/therapist pages.
 * added staff type/role taxonomy for grouping staff into roles. Eg: Doctor, Therapist.
 * added staff member multi relation to services. Allows you to show doctors that
   provide the service.
 * some minor fixes for WordPress 4.2+

#### 1.1.1

 * Restored the disclaimer on/off toggle option in settings
 * Added shortcode `mjm-clinic-disclaimer`
 * Tested on WordPress 4.3+

#### 1.1.2

 * Added hierarchy level control to service category navigation widget
 * Removed PHP4 Widget constructors for future compatibility

#### 1.1.3

 * Booking form date validation requirements reduced to allow more date formats.
 * Condition list now available as widget
 * fixed issue with condition list container ID duplication
 * fixed issue with condition list showing slug instead of title

#### 1.1.4

 * Location map widget can now show on any page by setting a location slug
 * Set width, height for location map widget

#### 1.1.5

 * Added widget container class
 * Added widget button class
 * Added booking form anchor for moving to success msg

#### 1.1.6

 * Added more widget container classes

#### 1.1.7

 * Added shortcode for staff list (see docs)

#### 1.1.8

 * Assigned services widget now works on staff/doctor pages
 * Enabled custom fields on service posts

#### 1.1.9

 * Enabled custom field support for feedback, casestudy, condition and staff posts

#### 1.1.10

 * Allowed for service location widget html overide.

#### 1.1.11

 * mjm_clinic_get_staff() now uses menu order instead of order by title ASC

#### 1.1.12

 * Removed warning when no attributes given to shortcode [mjm-clinic-staff]

#### 1.1.13

 * Fixed Walker_CategoryDropdown compatibility warning

#### 1.1.14

 * 4.9.8 compat

#### 1.1.16

 * v5 compatible

#### 1.1.17

 * Minor updates to booking form processor

#### 1.1.18

 * Theme template can now override the service session info widget

#### 1.1.19

 * Adds new action hook on booking form submit `mjm-clinic_booking_form_sent`

#### 1.1.20

 * Bugfix

#### 1.1.21

 * 5.8 compat

#### 1.1.22

 * 6.2 compat

#### 1.1.23

 * 6.4 compat
 * XSS protections from backend user submitted data

## Meta

 *  Version **1.1.23**
 *  Last updated: **3 years ago**
 *  Active installations: **20+**
 *  WordPress Version: ** 4.0 or higher **
 *  Tested up to: **6.4.13**
 *  Language
 * [English (US)](https://wordpress.org/plugins/mjm-clinic/)
 * Tags:
 * [clinic](https://en-ca.wordpress.org/plugins/tags/clinic/)[cms](https://en-ca.wordpress.org/plugins/tags/cms/)
   [listings](https://en-ca.wordpress.org/plugins/tags/listings/)[services](https://en-ca.wordpress.org/plugins/tags/services/)
   [therapy](https://en-ca.wordpress.org/plugins/tags/therapy/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/mjm-clinic/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/mjm-clinic/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mjm-clinic/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mjm-clinic/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mjm-clinic/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mjm-clinic/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mjm-clinic/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mjm-clinic/reviews/)

## Contributors

 *   [ damanic ](https://profiles.wordpress.org/damanic/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mjm-clinic/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://mjman.net)