Library

Create a library of reusable terms (strings) and display their contents anywhere on your site with a shortcode.

Author:Patrick Daly (profile at wordpress.org)
WordPress version required:3.8.1
WordPress version tested:4.4
Plugin version:1.1.0
Added to WordPress repository:06-03-2014
Last updated:31-12-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://wordpress.org/plugins/library
Total downloads:3 057
Active installs:40+
plugin download
Click to start download

Create a library of reusable terms (strings) and display their contents anywhere on your site with a shortcode.

Library lets you create a library of reusable terms (or strings) without any code necessary and access a term's content with a shortcode.

You can add a term (just like you'd add a post or page) called "Copyright Line" and its content could be "©2014 Your Company" and then use that anywhere on the site with [library term="copyright-line"] or <?php do_shortcode( '[library term="copyright-line"] ); ?>.

Because the library terms are a post type they inherit WordPress features like revision history, draft/scheduled/published, ability to change the term slug, full HTML, and so on.

Business Cases

These are real-world examples of how this plugin is being used or could be used. Each of these uses a shortcode to display the most up-to-date version of a term's content.

A financial institution is advertising an interest rate across many pages on a large website. There are instances of this percentage in content and in templates. Within a matter of seconds all of these numbers can be changed rather than crossing your fingers and hoping you caught all of the rates.

In order to quickly change the price of a fluctuating product a company put their price in a term to update across the whole site.

A health insurance company uses the same disclosures on many pages and UI contexts and keeping them compliant with changing regulations was difficult until they kept them stored in the Library.

The copyright line in the footer of a website might change sometimes to reflect a new year, a new trademark, new ownership, etc.

Contribute on Github | Report Bugs


ChangeLog