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

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:

  • teal
  • pink
  • red
  • blue
  • green
  • light-green
  • yellow
  • purple

Default: blue

xs
(Int) (Optional) The width in units (out of 12) of the button on Extra small devices (phones, less than 768px)
Default: 12
sm
(Int) (Optional) The width in units (out of 12) of the button on Small devices (tablets, 768px and up)
Default: 4
md
(Int) (Optional) The width in units (out of 12) of the button on Medium devices (desktops, 992px and up)
Default: 3

Examples

Study Abroad

[ feature-button link="http://www.truman.edu/majors-programs/academic-departments/about-school-of-business/business-school-study-abroad/" align="right" image="http://www.truman.edu/wp-content/uploads/2013/12/Study-Abroad-in-China.jpg" heading="Study Abroad" color="purple" / ]

show_rss_item

Displays one item from an RSS feed (from another WordPress site or other news site)

Parameters

url
(String) (Required) The url of the RSS file
image
(String) (Optional) Whether to show an image and on what side. Options: left, right, none
Default: left
random
(Boolean) (Optional) Whether to pull a random item or the first one
Default: false
excerpt
(Boolean) (Optional) Whether to show the excerpt of the item
Default: true
imagewidth

(

Int) (Optional) The width in units (out of 12) for the image
Default: 6
more_news_link
(String) (Optional) A different url for the “More News” link
Default: Pulled from RSS feed

Example

[ show_rss_item url="http://blogs.truman.edu/art/feed" image="left" ]

Madison Pearson Makes Paper

Madison Pearson Makes Paper

June 20, 2018

Our congratulations go out to Madison Pearson, a studio major at Truman, who has received a grant to conduct research this summer.  Here is her description of her project: Over the summer I will be making handmade paper from natural fibers. Traditionally mixed handmade paper for printmaking uses abaca, a species of banana which is used in…Read more Madison Pearson Makes Paper

More News

show_rss_item_list

Displays a set number of items from an RSS feed (from another WordPress site or other news site)

Parameters

url
(String) (Required) The url of the RSS file
image
(String) (Optional) Whether to show images and on what side. Options: left, right, none
Default: left
random
(Boolean) (Optional) Whether to pull items in random item or in order of the file
Default: false
excerpt
(Boolean) (Optional) Whether to show the excerpt of the items
Default: true
imagewidth
(Int) (Optional) The width in units (out of 12) for the image
Default: 3
more_news_link
(String) (Optional) A different url for the “More News” link
Default: Pulled from RSS feed
num_items
(Int) (Optional) The Number of items to show
Default: 3

Example

[ show_rss_item_list url="http://newsletter.truman.edu/rss2_for_wordpress.asp?id=29" image="left" random="true" num_items="3" more_news_link="http://www.truman.edu/news" ]

Schmidt Receives State Department Critical Language ScholarshipSchmidt Receives State Department Critical Language Scholarship

June 11, 2018

Deanna Schmidt, a history/pre-education major, has been awarded a U.S. Department of State Critical Language Scholarship to study Chinese in Xi'an, China, during the summer.

More News

show_rss_item_headlines

Show the headlines from an RSS feed, with optional image and excerpt for the first item.

Parameters

url
(String) (Required) The url of the RSS file
feature_first
(Boolean) (Optional) Show the photo and excerpt for the first item
Default: false
more_news_link
(String) (Optional) A different url for the “More News” link
Default: Pulled from RSS feed
more_news_text
(String) (Optional) Show different text on the “More News” link
Default: “More News”
title
(String) (Optional) A headline to show above the headlines, after the featured item
num_items
(Int) (Optional) The number of items to show
Default: 8

Example

[ show_rss_item_headlines url="http://newsletter.truman.edu/rss2_for_wordpress.asp?id=29" title="Headlines" feature_first="true" more_news_link="http://trumantoday.truman.edu" ]

Schmidt Receives State Department Critical Language Scholarship

stockcupola18.jpg

Deanna Schmidt, a history/pre-education major, has been awarded a U.S. Department of State Critical Language Scholarship to study Chinese in Xi’an, China, during the summer.

The Critical Language Scholarship (CLS) program is part of a U.S. government effort to expand the number of Americans studying and mastering critical foreign languages. CLS scholars gain language and cultural skills that enable them to contribute to U.S. economic competitiveness and national security.

Read more»

Headlines

    More News

    show_events

    truman_slides