Schedule to show_content shortcode NOTE: BUG – causes a 502 Bad Gateway error (PHP SIGSEGV – core dumped) error is embedded within an Events Manager Pro page. Allows a section of a page to be shown on the web site only during a specified time period. Note that entire posts can be scheduled to appear with… Read more »
Posts Categorized: Shortcodes
login_jump
login_jump[2] is used to redirect to laws.gsu.edu and log in the WordPress user into Contentor/agora Usage: [login_jump url=”http://laws.gsu.edu/agora/index/My_WebCourses”] The script adds the WordPress username and a “token” hash code that is good for 1 minute (technically it is good for 3 minutes in case the two server’s clocks are off by up to a minute.)… Read more »
Gallery shortcode
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 »
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 »