Disable shortcodes in posts

changes all “[” and “]” to HTML entities /” dummy=”#91; and /” dummy=”#93; in Posts content only. Example: [disable-post-shortcodes] Indicates how many posts were updated. This routine is run several times per day, or can be run manually at any time

CoL Theme shortcodes

CoL Theme Shortcodes[1] We want to avoid theme-based shortcodes.[2] The shortcodes defined in the theme are: [gallery] $args = array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ => null, ‘post_parent’ => $post->ID ); [button]        ‘type’ => ‘default’, /* primary, default, info, success, danger, warning, inverse */ ‘size’ => ‘default’, /* mini, small, default, large */ ‘url’… Read more »

Announcements on InsideLaw

Announcements are placed on the homepage of InsideLaw by creating a post in the category “Announcements” To create On the dashboard admin menu, Posts / Add New – enter a concise title, content in the editor, and select “Announcements” and other relevant categories in the Categories select box. The listing of announcements will include an excerpt from the… Read more »

nginx deployment

See also Server setup (priv) NginX deployment http://nginx.org/en/ nginx [pronounced “engine x”] is a very fast web server, serving up sites such as Netflix and WordPress.com. See also SSL certificates NOTES: in PHP, $_REQUEST is *not* populated!!! only $_GET and $_POST $_GET is not populated if redirect is done via  try_files command * – instead: try_files $uri… Read more »

Buttons shortcode example – CoL Theme

The buttons are (unfortunately) defined in the CoL theme shortcode: [button type=”type” size=”size” url=”address” text=”button label text”] Since this site has all shortcodes disabled in Posts, the “live” example is on a page located at insidelaw.gsu.edu/documentation/buttons/      

Admissions events

The Admissions office has a separate WordPress site for their prospective student events https://insidelaw.gsu.edu/admissions/ It is a fairly standard installation with a few special configuration changes to the Events Manager, most notably, the Default event list format:         <tr>                 <td>                 <p>#_EVENTDATES</p><p>#_EVENTTIMES</p>      … Read more »

InsideLaw Widgets

The gsu-look-alike theme[1] has 5 widget area, Main Sidebar Homepage Sidebar Footer 1 Footer 2 Footer 3 The Homepage template has a full-width “hero” unit (?slider?) that I know little about, and is not used much, if at all. Footer 1 is the main footer text (copyright, etc.). It has been altered to be full width…. Read more »

Video Gallery [KGVID] shortcode

Video Gallery [KGVID] shortcode From Video Embed & Thumbnail Generator Normally, this tag alone will display all videos attached to the page/post. This tag will be inserted with the “Add Media” button over the WYSIWYG editor. To further modify the way the video player works, add the following options inside the `[KGVID]` tag. These will… Read more »

Committees – Faculty

Faculty committees are places in the “committee” custom content type via the admin left nav menu entry Each committee in each year gets it’s own separate committee “page” The Title of the committee should be: Name of Committee – FY#### where #### is the 4-digit year The content of the committee “page” will be the names… Read more »

category_list shortcode

[category_list cat_type=”category”] Makes a simple, alphabetized bulleted list of all the categories of a particular type. Especially useful for custom content type categories, where a category page does not seem to be automatic… As of 9/30/14, the following custom cat_type entries are valid: audience category* committee_name committee_year division event-categories event-tags externship_category externship_semester externship_type following_users forum… Read more »