Shortcode Usage

The plugin exposes a shortcode that allows you to insert a press release or press coverage list on a page. This shortcode is used on the pages initially created when the plugin is installed.

Shortcode Description
[nooz] Insert a press release or coverage list view.

You can modify the list view on a per-list basis by adding shortcode attributes. This will override options set on the Settings Page. If you do not specify an attribute value, the default will be used.

Option Description Default
type The type of list view to insert. Values are release, coverage or a post type. release
class Add additional CSS class names, use a space to separate multiple class names.
count The number of items to show in the list. 5
date_format The date format to use for each list item. M j, Y
featured_image_url The default featured image url to use for each item.
more_link The read more link text. The use_more_link option must be enabled. Read More
next_link The next/forward link text. The use_pagination option must be enabled. Next
previous_link The previous/back link text. The use_pagination option must be enabled. Previous
target The link target to use for press coverage lists, default value applies to press-coverage. _blank
use_excerpt Whether or not to use an available excerpt. Values are yes or no. yes
use_more_link Enables a per item "read more" link. Values are yes or no. no
use_pagination Enables pagination. Values are yes or no. no
use_archive_link Display the archive page link. Values are yes, no or auto Using auto will cause the link to only be displayed if there are more items than count. no
archive_link The archive link text. The use_archive_link option must be enabled. More Press [Coverage|Releases] ...
archive_link_url The archive link URL. The URL is automatically generated using press coverage and press release slugs.

Example usage of the [nooz] shortcode:

[nooz type="release"]

[nooz type="release" class="custom-class" count="10" date_format="Y-m-d" use_excerpt="no"]

[nooz type="coverage" date_format="Y-m-d" target="" use_more_link="yes" use_pagination="yes"]

[nooz type="coverage" class="custom-class" count="10" date_format="Y-m-d" use_excerpt="no" target="popup"]

[nooz type="post" featured_image_url="/wp-content/uploads/featured_image.jpg" use_archive_link="auto"]