Additional Shortcodes available on WordPress at K

Shortcodes in WordPress are bits of text you can use in the content area to invoke some kind of function to accomplish certain tasks. For example, a shortcode might allow you to embed icons, videos, fillable web forms, or other interactive elements. In addition to built-in WordPress shortcodes, K content editors have these custom shortcodes available:

[chiclet]…[/chiclet]

color coded tags/keys

Attributes:

color = red, orange, yellow, lime, green, aqua, purple, light-gray, dark-gray, or black

Example:

[chiclet color=orange]K[/chiclet]

[column]…[/column]

www only; deprecated

Mobile responsive columns of equal size

Attributes:

num = column number
of = total number of columns

Example:

[column num=1 of=2]…content… [/column]
[column num=2 of=2]…content… [/column]

[confetti ]

Display confetti animation on page load.

Attributes:

none

Example:

[confetti]

[countdown]

Displays a countdown timer

Attributes:

y (optional)= year of event (default current year)
m (optional) = month of event (default current month)
d (optional) = day of event (default current day)
hh (optional) = hour, 24 hour format (default midnight)
mm (optional) = minute of event (default 00)
width (optional) = pixels wide (default 200)
align (optional) =’none’ (default),’left’, ‘right’
label (optional)=text to display underneath

Example:

[countdown y="2019" m="10" d="18" hh="11" align="right" width="180" label="Until Homecoming!" ]

[courselist ]

Display courses from the Academic Catalog with the given prefix code.

Attributes:

code = course prefix code

Example:

[courselist code="FREN"]

[iCal]

Display upcoming events from an external iCal feed

Attributes:

url = url of iCal feed

Example:

[iCal url="https://reason.kzoo.edu/cip/calendar/?format=ical"]

[icon]

Displays a Font Awesome vector icon. See our help for Font Awesome icons.

Attributes:

name = name of icon
style = solid, regular, light or brand (optional, defaults to solid)
size= font size (optional, defaults to same size as surrounding text)

Example:

[icon name="frog" style="solid" size="48px" ]
[icon name="amazon" style="brand"]

[kevents]

Attributes:

organizer Note: the organizer must be spelled exactly as entered on the event form
tag Note: the tag must be spelled exactly as entered on the event form
startdate format yyyy-mm-dd. return all events starting after 12am on this date
enddate format yyyy-mm-dd. return all events starting before 11:59pm on this date

All parameters can be used together. The result is a logical ‘and’ (intersection).

Examples:

[kevents organizer='Library']
[kevents tag='FYF']
[kevents organizer='Student Activities' tag='free food']
[kevents startdate='2021-09-13']

[kframe]

Embeds the content of another webpage

Attributes:

url
width in pixels
height in pixels

Example:

[kframe http://example.com 640 380]

[kinstagram]

Embeds latest Instagram posts

Attributes:

u = Instagram username

Example:

[kinstagram u=kzooadmission]

[ktime]

Attributes:

none

Example:

The current local time is [ktime]

[login_link]

Attributes:

none

Example:

Please [login_link] to use this form

[requirements]

Displays program requirements from the Acadmic Catalog for the given program code.

Attributes:

code = program code

Example:

[requirements code="FREN"]

[searchform]

Displays a search form scoped to your site.

Attributes:

none

 

[sitemap]

Displays nested list of all pages on your site.

Attributes:

none

[strikethrough]…[/strikethrough]

Formats text with line through.

Attributes:

none

Example:

[strikethrough]strike this[/strikethrough]

[subscribe-button]

Inserts a button formulated to add the user to your subscription list.

Attributes:

none

Example:

[subscribe-button]