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

Author Parameters

If you want to show posts associated with the certain author, you can use the following attributes in the shortcode.

  • author – Provide author ID or comma-separated list of IDs.
  • author_name – Provide “user_nicename” – NOT name.

Example

[wcp-carousel id="767" author="1"]

Above shortcode will display only those posts created by the site administrator.