1. Home
  2. Docs
  3. Responsive Posts Carousel
  4. Shortcode Attributes
  5. Tag Parameters

Tag Parameters

You can display the posts associated with a single tag or certain tag regardless of the carousel settings using the following attributes in the shortcode.

  • tag_id – Provide tag id here.
  • tag – Provide tag slug.

Examples

[wcp-carousel id="767" tag_id="50"]

The above shortcode will display the posts associated with the tag having IDs 50.

[wcp-carousel id="767" tag="staff,news"]

Above will display posts having Staff or News tag slug (staff or news).

[wcp-carousel id="767" tag="staff+news"]

and above will display posts having both the tags (staff and news).