user_meta shortcode

[user_meta] shortcode Displays user meta data in a user-defined template Note that the Formidable Pro plugin also has a [user_meta] that is internal to set the default value of a field. The user metadata is stored in the “wp_usermeta” table – this is a standard WP table, but any amount of user data can be… Read more »

Event management

The plugin is Events Manager Pro and more documentation is available on their site Events are submitted via InsideLaw by anyone. Unless submitted by someone with “event_publish” permissions, the event is placed in “pending” awaiting approval. General information about tagging and categorizing can be found in our Best Practices. Note that “College Events” is intended only for… Read more »

Hiding pages from search results

Hiding pages from search results On InsideLaw, pages can be hidden from appearing in the built-in WordPress search results by adding the id# of the page/post to a comma-separated list in the site settings. First, you need the post number (post=####)  that can be found in the URL of the edit page for that post…. Read more »

Rackspace Export redirection list

Rackspace Export redirection list The Redirection plugin on RackSpace is version  2.2.13 (as of May 22, ‘14) which has a bug in the export routine. Use the URL below: http://law.gsu.edu/wp-admin/tools.php?page=tools.php?page=redirection.php/” dummy=”sub=csv/” dummy=”module=1/” dummy=”token=

Manually add new users

How to manually add new Campus ID users to InsideLaw and LawMedia. Separate instructions are used to add existing users to sub-sites. Users without Campus IDs are to be discouraged on InsideLaw as this presents security risks to the FERPA-protected data therein. Other CoL WordPress instances are less likely to have FERPA data, so a… Read more »

Custom content and taxonomy

Custom post types (such as “externship”) are created by CCTM Custom taxa are created with the WCK – Custom Fields and Custom Post Types Creator[1] A few hard-learned points: for publish/edit/delete capabilities, on the CCTM “Advanced” tab, set only the “Capability Type” as a singular noun name and do not check “Map Meta Cap” or… Read more »

show_content at scheduled times

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 »

Web Alerts from gsu.edu

NOTE: 3/10/2015 – Found that the University has re-configured their server to deny access to the cached notification page: “Forbidden – You don’t have permission to access /wp-content/cache/rave-alert/index.html on this server.” Disabled the cron job – no time for such games. {ead} Notices that are displayed on gsu.edu are retrieved (once every 2 minutes), cached, and… Read more »

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 »