The [gallery] shortcode allows you to embed thumbnail images and captions that link to other pages. See also “The WordPress Gallery” The easiest way to implement a gallery is to insert the shortcode, [gallery] into the page, and then save the page. The WYSIWYG editor will then show a box with “No items found” Clicking… Read more »
Posts Categorized: Shortcodes
Course Catalog Tie-in
Details gleaned from Cory’s plugin at: https://github.com/gsuAE-Doc/gsu-wordpress/pull/54/files Test page: http://corydwatson.com/work/aysps/gsu-wordpress/testing-plugin/ Pulls JSON data from: http://catalog.gsu.edu/law20142015/api/course/law_5001 List of all courses in catalog at: http://catalog.gsu.edu/law20142015/api/course/ Test script: <?php $cnt = json_decode(file_get_contents(‘http://catalog.gsu.edu/law20142015/api/course/’), true); foreach ($cnt as $elem => $val) { echo $val[’subject’] . ‘ ‘ . $val[’course_number’] . ‘ – ‘ . $val[’title’] …. Read more »
Accordion
Accordion short codes (updated 3/28/14)[1] Use: [accordion][item title=”title1″] tab content [/item][item title=”title2″] another content tab [/item][/accordion] In the editor drop-down selector, “Accordion group” and “Accordion item” are under category “layout” “Accordion group” puts in the [accordion][/accordion] tags “Accordion item” puts in the [item title=”title1″] tab content [/item] content You can embed more than one group per page,… Read more »
list_all_shortcodes
Simple shortcode to list all defined shortcodes [list_all_shortcodes] This must be embedded in a page on the site that you want the short codes from! For example, see all the shortcodes on the main InsideLaw site The first column is the short code that goes into the page, the second column is internal techo-babble -… Read more »