Skip to content

Commit

Permalink
Merge pull request #57 from washingtonstateuniversity/0.8.0
Browse files Browse the repository at this point in the history
[PR] Bump version 0.8.0
  • Loading branch information
jeremyfelt committed Nov 10, 2016
2 parents cf41fa3 + b940d32 commit 67d9904
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.8.0 (November 10, 2016)

* Provide ability to filter by object association in shortcodes.
* Wrap name in anchor/link when headlines output is used.
* Add an automatic fallback for site URL to the current site.
* Provide more explicit nonce handling for object URL.
* Add a nonce to the save of object associations.

## 0.7.1 (November 8, 2016)

* Bug: Ensure class global is `$global` before starting.
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# University Center Objects

A WordPress plugin that provides content objects and relationships common to a center, institute, or other organization at a university.
A WordPress plugin that provides content objects and relationships common to a center, institute, or other organization at a university.

## Extending WSUWP Content Syndicate

The plugin includes shortcodes that extend the WSUWP Content Syndicate plugin with support for University Center objects and their associations to other objects.

* `[wsuwp_uc_projects]` will display a list of project names linked to individual project pages.
* `[wsuwp_uc_projects person="person-slug"]` will display a list of project names associated with a person.
* `[wsuwp_uc_projects organization="org-slug"]` will display a list of project names associated with an organization.
* `[wsuwp_uc_projects publication="pub-slug"]` will display a list of project names associated with a publication.

This structure works for organizations, people, and publications as well:

* `[wsuwp_uc_people]`
* `[wsuwp_uc_organizations]`
* `[wsuwp_uc_publications]`

As displayed in the first set of examples, each shortcode can be filtered with an object type. If multiple object types are provided as part of the shortcode, only one will act as a filter.

Object type attributes are `person`, `organization`, `publication`, `project`. The value should be the slug of an individual object.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wsuwp-plugin-university-center",
"version": "0.7.1",
"version": "0.8.0",
"repository": {
"type": "git",
"url": "https://github.com/washingtonstateuniversity/wsuwp-university-center"
Expand Down
4 changes: 2 additions & 2 deletions wsuwp-university-center.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://web.wsu.edu/wordpress/plugins/university-center-objects/
Description: Provides content objects and relationships common to a center, institute, or other organization at a university.
Author: washingtonstateuniversity, jeremyfelt
Version: 0.7.1
Version: 0.8.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
Expand All @@ -19,7 +19,7 @@ class WSUWP_University_Center {
*
* @var string
*/
var $plugin_version = '0.7.1';
var $plugin_version = '0.8.0';

/**
* The slug used to register the project custom content type.
Expand Down

0 comments on commit 67d9904

Please sign in to comment.