Simple Feature Requests
  • Welcome
  • Getting Started
    • Installation
    • Activate Licence
    • Setup
    • Shortcodes
  • Configuration
    • Allow Users to Remove Their Own Votes
    • Enable/Disable Comments
    • Change Request Title Tags
  • Administration
    • Bulk Actions
  • Pro Features
    • Bulk Edit Statuses
    • Enable Notifications
    • Setup Categories
    • Limit Votes
    • Image Uploads
    • Custom Statuses
    • Multiple Boards
    • Custom Labels
    • Enable & Disable Filters
  • Customizing
    • Email Notifications Signature
    • Change the Default Post Status
  • Troubleshooting
    • Error 404 - Page Not Found
    • Known Plugin Conflicts
  • Advanced
    • Useful Filters
Powered by GitBook
On this page
  • The Main Shortcode
  • The Sidebar Shortcode
  • The Widget Shortcode [Pro]
  • The Roadmap Shortcode [Pro]

Was this helpful?

  1. Getting Started

Shortcodes

PreviousSetupNextAllow Users to Remove Their Own Votes

Last updated 5 years ago

Was this helpful?

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]

Parameter

Default

Options

Description

sidebar

true

true/false

Display the sidebar as part of the main shortcode output.

submission

true

true/false

True to enable feature request submission form. False to disable feature request submission form.

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 []

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=""]

Parameter

Default

Options

Description

type

login/top-requests/taxonomy

Display the login, top requests, or taxonomy widgets.

taxonomy

The taxonomy slug, e.g. request_category

Used when type is set to taxonomy. If no taxonomy is set, it will display all taxonomies. By default it will only show categories, but you can add more using the jck_sfr_taxonomies filter.

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.

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]

Parameter

Default

Options

Description

status

under-review,planned,started

Comma-separated list of requests statuses.

Choose which statuses to feature in your roadmap.

limit

3

integer

How many requests to show for each status.

cols

3

integer

How many columns to use.

term_[taxonomy_name]

Comma-separated list of term slugs.

Restrict requests to specific taxonomy terms.

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.

The Roadmap Shortcode []

Pro
Pro