Table Of Content
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
andbackground-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" ]
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/" ]
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
[ 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" ]
Public Art at Truman
September 13, 2022
Students in Professor Dunnagan’s Painting II-V courses created site-specific artwork around campus for the project, “Creative Surprises.” Can you find them all?
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" ]
November 18, 2024
It is widely accepted that internships offer students experiences outside of the classroom. Not all of them include having lunch with a Nobel Prize winner, but that's just one of the many amazing experiences Thirtha Karmakar had this summer as part of his internship with NASA at the Goddard Space Flight Center (GSFC) in Maryland.
November 18, 2024
In an effort to bolster opportunities for students, Truman hired Kim Sprought to serve as director of internships. Sprought has been tasked with enhancing, facilitating and promoting meaningful internships and enriching career-related experiences for Truman students.
November 18, 2024
Truman's annual United Way campaign is currently ongoing with a goal of $28,000.
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" ]
Headlines
- Truman Looks to Expand Internship Opportunities with New Director Position
- Housing Renewal Open for Next Year
- Truman United Way Goal Set at $28,000