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" ]
April 22, 2024
Peter McPoland will perform at 6 p.m. April 26 on the quad. At just 20 years old, McPoland creates the kind of finespun folk-pop that feels both beautifully lived-in and undeniably original.
April 22, 2024
Missouri students with an associate's degree now have the opportunity to receive a 50% discount on tuition while earning a bachelor's degree from Truman. TruPlus is a new initiative established by Truman to provide a way for in-state students to affordably continue their education.
April 22, 2024
Performances of "Charlotte's Web" will take place at 7:30 p.m. April 25-27 in the Black Box Theatre in Ophelia Parrish Building. There will also be a matinee performance at 2 p.m. April 28.
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" ]
SAB Concert Features Peter McPoland
Peter McPoland will perform at 6 p.m. April 26 in the Student Union Building Georgian Rooms.
At just 20 years old, McPoland creates the kind of finespun folk-pop that feels both beautifully lived-in and undeniably original. McPoland picked up guitar at the age of 14 and taught himself to play, finding lessons to be too regimented. Within a year he’d started writing his own songs, mining inspiration from folk artists like John Prine and Gregory Alan Isakov. As shown on breakout hits like his self-released single “Romeo & Juliet,” the Texas-raised artist has an incredible gift for capturing the most nuanced emotional experiences, then bringing that expression to life in idiosyncratic detail.
Headlines
- Biology Major has Sights Set on Big Cat Research
- Greek Life Raises More Than $25,000 for Local Charities
- Theatre to Perform "Charlotte's Web"
- Graduating Senior Receives Fulbright Grant
- TruPlus Program Offers Discounted Tuition to Transfer Students
- Puppy Love for Tally Supports Adair County Humane Society
- Giving Week Set for April 22-26