Shortcodes are executed by wrapping a text string between square brackets. This text string acts as a “key” that executes the shortcode. Shortcodes are entered into the content area like this: [short-code].
Below is a list of custom shortcodes based on the input fields of the “Short Codes” admin area of the WordPress Dashboard:
Output: Monday, August 2nd
Below is an example of the use of shortcodes in content editing. Text in bold is the result of the use of a shortcode:
The way it is written:
Today’s date is [show-current-date].
The IPA Membership Count is: [ipa-membership-count].
The current Clinic Membership Count is [clinic-membership-count].
The current IPA Membership Count is [ipa-membership-count].
The current IPA PCP Count is [ipa-pcp-count].
The current IPA Contracted Prov Count is [ipa-contracted-prov-count].
The current IPA County Count is [ipa-county-count].
The way it is displayed:
Today’s date is Monday, August 2nd.
The IPA Membership Count is: 238,000.
The current Clinic Membership Count is 28,500.
The current IPA Membership Count is 238,000.
The current IPA PCP Count is 433.
The current IPA Contracted Prov Count is 3,201.
The current IPA County Count is 7