Use this shortcode you can query all downloads/packages and you can use relevant parameters as like as WP_Query as mentioned below

Example short-code to query any author’s downloads:

[wpdm_packages author="1" paging="1" order_by="field name" order="asc or desc" posts_per_page="10" template="template name or ID" cols=4 colspad=2 colsphone=1]

Parameters:

Author Parameters

Show posts associated with certain author.

  • author (int | string) – use author id or comma-separated list of IDs.
  • author_name (string) – use ‘user_nicename‘ – NOT name.

Category Parameters

Show posts associated with certain categories.

  • categories (string) – use category slug ( or slugs separated by comma ).

Tag Parameters

Show posts associated with certain tags.

  • tag (string) – use tag slug.
  • tag_id (int) – use tag id.
  • tag__and (array) – use tag ids.
  • tag__in (array) – use tag ids.
  • tag__not_in (array) – use tag ids.
  • tag_slug__and (array) – use tag slugs.
  • tag_slug__in (array) – use tag slugs.

Live Demo

Last Updated: Dec 26, 2018


Leave a Reply