Cascade CMS

Shortcodes

As we've been working on Cascade, we looked at our old systems to bring you some updated shortcodes. Every shortcode is surrounded by square brackets. e.g. [shortcode].

Due to how Cascade process content, we won't be able to write out the full shortcode, with brackets but will provide you with code samples.

Note: Shortcodes must be wrapped inside of a valid HTML element. In most instances this will not be an issue unless the shrortcode is the only item on a page.

Forms

[form id="FORM_ID"] - The form ID can be found inside of Form Manager.

YouTube

[youtube id="VIDEO_ID"] - The video ID can be found after the ?w= of the youtube URL. e.g. https://www.youtube.com/watch?v=KsWYS0-rTmg the video ID is KsWYSO-rTmg.

Vimeo

[vimeo id="VIDEO_ID"] - Similar to the YouTube embed, copy the video ID into the ID parameter. e.g. https://www.vimeo.com/6370469 the video ID is 6370469

Twitter Feed

[twitter id="USERNAME"] - Already have a twitter username? Great, just drop it into this id field and save the page.

Single Tweet

[tweet url="TWEET_URL"] - Simply copy and paste the URL from Twitter into the URL parameter of this shortcode.

Facebook Page

[fbpage url="PAGE_URL"] - Simply copy and paste the URL from Facebook into the URL parameter of this shortcode.

Single Facebook Post

[fbpost url="POST_URL"] - Click on the timestamp of a single post and simply copy and paste the URL from Facebook into the URL parameter of this shortcode.

Instagram Post

[instagram url="POST_URL"] - Simply copy and paste the URL from Instagram into the URL parameter of this shortcode.

SoundCloud

[soundcloud url="SOUNDCLOUDURL"] - Simply copy and paste the URL from SoundCloud into the URL parameter of this shortcode.

News/Blog Brief

[latest_news] [latest_news pics="true"] [latest_blog] [latest_blog title="Deans Blog"] - Simply type one of the respective codes inside the brackets and it will cultivate the 5 most-recent posted news or blog posts from your project's /news/ or /blog/ directory.

If you would like it to include the image thumbnails, add pics="true" as part of your shortcode.

If you would like the title to be something other than "Latest Blog" or "Latest News", add title="[new name]" as part of your shortcode.

Pull Quotes

[pullquote text="Content" float="left|right"] Enter your text into the text field. Choose whether you want it to pull to the right or left.