Shortcodes

The shortcodes included in this plug-in can be used everywhere in your WordPress site.

LabelGrid Tools comes with many shortcodes that can be used to display release lists, artist lists, release links, and gated downloads on your WordPress site.

Releases

Release Banner

Shortcode: [labelgrid-release-banner]

Description: Show a banner with the latest release published.

Optional Parameters

To filter the list by label, use the full label name as listed in LabelGrid.

You can upload personalized backgrounds in each Release

Example

[labelgrid-release-banner label='your label' items-page='1' item-filter='released']

Release list

Shortcode: [labelgrid-release-list]

Description: Show a list of releases with pagination. Can be filtered to show only a selected record label.

Optional Parameters

To filter the list by label, use the full label name as listed in LabelGrid.

Example

[labelgrid-release-list label='your label' show-title='false' items-page='16' items-row='4' pagination='on']

[labelgrid-release-links release-id='10']

Shortcode: [labelgrid-release-links]

Description: Print all Stores links for a certain release.

Optional Parameters

NOTE: If the shortcode is called inside a loop and no ID is specified, it will use the post ID of the loop.

Example

[labelgrid-release-links release-id='10']

Release filters

Shortcode: [labelgrid-release-list-filter]

Description: Filter the displayed records by Genre or Record Label

Optional Parameters

NOTE: These filters work in conjunction with [labelgrid-release-list]

If you have set something in the label parameter of [labelgrid-release-list], the record_label dropdown will not appear.

Example

[labelgrid-release-list-filter record_label='true']

Artists

Artist list

Shortcode: [labelgrid-artist-list]

Description: Show a list of releases with pagination. Can be filtered to show only a selected artist category.

Optional Parameters

*Category filtering: To filter the list by category, use the artist category name.

Example

[labelgrid-artist-list category='your category' show-title='true' items-page='16' items-row='4' pagination='on' title-below='yes']

Gated download

Gated download list

Shortcode: [labelgrid-gate-download-list]

Description: Show a list of Gate Downloads with Pagination. Can be filtered to show only a selected Gate Category.

Optional Parameters

*Category filtering: To filter the list by category, use the gate category name.

Example

[labelgrid-gate-download-list category='your category' show-title='false' items-page='16' items-row='4' pagination='on']

Gated download button

Shortcode: [labelgrid-gate-button]

Description: Show the download button which will trigger a download window for the user.

Optional Parameters

Custom CSS class: the plugin will print only a<a href class=”custom”></a>removing the default DIV that contains the link.

Example

[labelgrid-gate-button gate-id='123' button-label='Get This For Free' custom-class='my-custom-css-class' download-text='Get the download']

Last updated