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 »
Posts Categorized: Shortcodes
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 »
embed_menu
Places a navigation menu anywhere on a page. You can specify a menu by it’s name or ID number: [embed_menu] [embed_menu menu=”my_menu”] [embed_menu menu=13] ID number can be seen by going to “Appearance” -> “Menus” -> “Select a menu to edit:” and check the /” dummy=”menu=## in the address [embed_menu] without specifying which one shows… Read more »