Shortcodes

Simple Feature Requests is powered by shortcodes. Let's take a look at them and their parameters.

The Main Shortcode

This shortcode is used to output the requests archive and single request templates. It should be placed on the page you set as your "Archive".

[simple-feature-requests]

Example

[simple-feature-requests sidebar="false"]

This will display the simple feature requests archive and single pages without the sidebar included.

The Sidebar Shortcode

If you use the main shortcode without a sidebar, you can use this shortcode to place the full sidebar wherever you like.

[simple-feature-requests-sidebar]

The Widget Shortcode [Pro]

If you don't want to output the full sidebar, you can use the widget shortcode to display specific elements of the sidebar.

[simple-feature-requests-widget type=""]

Example

[simple-feature-requests-widget type="taxonomy" taxonomy="request_category"]

This will display the category widget.

[simple-feature-requests-widget type="top-requests"]

This will display the top requests widget.

The Roadmap Shortcode [Pro]

This shortcode displays a card-themed roadmap of your feature requests. Perfect for letting your customers get a birds-eye view of where your product is heading.

[simple-feature-requests-roadmap]

Example

[simple-feature-requests-roadmap limit="3" status="under-review,planned,started" cols="3"]

Display 3 columns for requests which are under review, planned, or started.

[simple-feature-requests-roadmap term_request_category="category-1,category-2"]

Limit requests on the roadmap to those in request categories 1 and 2.

[simple-feature-requests-roadmap term_custom_taxonomy="term-1,term-2"]

Limit requests on the roadmap to those tagged with the terms term-1 and term-2 in a taxonomy called custom_taxonomy. The term_[taxonomy_name] parameter accepts a list of comma-separated term slugs.

Last updated