Shortcode Library
Normal Shortcodes
!Warning! – This is for advanced WordPress users only!
[icon]
- The “icon” shortcode takes the following parameters:
- type (REQUIRED)
- The ‘type’ option determines which icon to use.
- The list of available icons are found here: https://fortawesome.github.io/Font-Awesome/icons/
- link (optional)
- color (optional – defaults to font color)
- Color codes MUST be in either “#FFFEB8” format OR in the exact name of the color value.
- An example of color values can be found here: http://www.computerhope.com/htmcolor.htm
- size (optional)
- Size will default to current text size
- Sizes are available in 0.1 – 10
- type (REQUIRED)
- Example usage
[comment][/comment]
- Allows back-end users to leave comments that will not be displayed
- No parameters are taken – must have an opening and closing tag
- Example usage:
- [comment]This will not be displayed[/comment] –
- [comment]Note to Jeff – do not update this page[/comment] –
[diversity_event][/diversity_event]
- This shortcode was created in order to display events in a responsive, aesthetically pleasing manner.
- Originally named as it was created for the diversity page
- Parameters AND opening and closing tags are required. If either is missing, tag will not be displayed
- month (REQUIRED)
- day (REQUIRED)
- Between tags – description of event, etc.
- You can use the visual editor to add links, small images, format text, add white spaces, etc.
- Example usage: