Truman2016 Theme Shortcodes

[ parallax ]

Used to create a full-width block with a static background image or video. Including the [ parallax ] shortcode on a page will automatically trigger the template to go to full-width. The content to be displayed in the block should be included in between [ parallax ] and [ /parallax ].

Parameters

background-image
(String) (Optional) Specify the url to use as a background image for the parallax block. Overrides background-color and background-video
Default: none
background-color
(String) (Optional) Specify the hex color to use as a background for the parallax block. Overrides background-video
Default: none
background-video
(String) (Optional) Specify the url (or multiple urls separated with a space) of a video to use as a background for the parallax block
Default: none
height
(String) (Optional) Specify the height (including a measurement) to use as the minimum height for the parallax block. Block will be taller if determined by content, but will not be shorter.
Default: 300px
class
(String) (Optional) Specify a class name to be added to the parallax block (useful for targeting with CSS or javascript).
Default: none
style
(String) (Optional) Specify CSS style to be added inline to the parallax block.
Default: none
id
(String) (Optional) Specify an id to be added to the parallax block (useful for targeting with CSS or javascript).
Default: none

Examples

gallery_slider

Wraps a built-in WordPress gallery with code to make it automatically slide sideways – usually showing about 4 images at a time.

Example


[ gallery_slider ] [ gallery ids="5837,5836,5835,5834,5831,5827" ] [ /gallery_slider ]

call_to_action

Creates a button with icon that calls the user to complete a task.

Parameters

url
(String) (Required) Specify the url to link to.
Default: none
fa-icon
(String) (Required) The Font Awesome icon to use.
Default: none
link-text
(String) (Required) The text of the call to action.
Default: none

Example


[ call_to_action url="http://www.truman.edu/request-information/" fa-icon="fa-info-circle" link-text="Request Info" ]

stat_quote

Used for a short stat or ranking from a publication.

Parameters

rank
(String) (Required) The main number of the stat or ranking
Default: none
category
(String) (Required) Description of the stat or ranking.
Default: none
source
(String) (Required) The publication or source of the stat or ranking.
Default: none

Example


[ stat_quote rank="#1" category="public university in the Midwest Region" source="U.S. News & World Report" ]

#1
public university in the Midwest Region
U.S. News & World Report

stat_number

Used to show a stat that is a number

Parameters

class
(String) (Optional) Specify a class name to be assigned to the element
underline-color
(String) (Optional) Specify a hex color to use as a bottom border/underline
font-color
(String) (Optional) Specify a hex color to use for the font
Default: #000000 (black)
number
(String) (Required) The main number of the stat. It can contain extra symbols like $, %, +
label
(String) (Required) The label for the stat (what is the stat describing)
animate
whether or not to count up to that number when the page loads
Default: false
url
(String) (Optional) Specify a url to link to.

Examples

[ stat_number class="" underline-color="#00add5" font-color="" number="52" label="Undergraduate Majors" animate="false" url="http://www.truman.edu/majors-programs/#acalog_filter=baccalaureate-degree"]

[ stat_number class="opacity" underline-color="" font-color="#5ac0b4" number="250+" label="Student Organizations" animate="true" url="http://csi.truman.edu/studentorgs/" ]
250+
Student Organizations

feature-button

Shows a button with image

Parameters

align
(String) (Optional) Which direction the button should be aligned
Default: right
link
(String) (Required) The url to link to
image
(String) (Optional) The url of the image for the button
heading
(String) (Required) The large text of the button
color
(String) (Optional) The name of the color for the bottom border. Options: ____
Default: blue
xs

Default: 12
sm

Default: 4
md

Default: 3

show_rss_item

show_rss_item_list

show_rss_item_headlines

show_events

truman_slides