What are accepted parameters for group shortcodes?

  • [groups-listing]

This shortcode will help you to display all the groups on any of the WordPress posts/pages.

  • [groups-listing title=”All Group”]

This shortcode helps you to display groups with titles.

  • [groups-listing type=”alphabetical”]

With the help of this shortcode, group display with ‘type’. If type is alphabetically then group display alphabetically order.

  • [groups-listing per_page=2]

With the help of this shortcode, allow a number of groups to display per page.

  • [groups-listing max=”5″]

With the help of this shortcode, only five groups will be displayed out of a total number of groups.

  • [groups-listing user_id=1]

With the help of this shortcode, those groups will be displayed where user id=1 will exist.

  • [groups-listing search_terms=”swashbuckling”]

With the help of this shortcode, only those groups will be displayed where this keyword will exist.

  • [groups-listing parent_id=4]

With the help of this shortcode, only those groups whose parent id is 4  will be displayed.

  • [groups-listing group_type=designer,developer]

With the help of this shortcode, only those groups whose group types are developers and designers will be displayed.

  • [groups-listing group_type__not_in=”designer”]

With the help of this shortcode, only those groups whose group type are designer will be not displayed.

  • [groups-listing group_type__in=”developer”]

With the help of this shortcode, only those groups whose group types are developers will be displayed.

  • [groups-listing exclude=5,6]

With the help of this shortcode, only those groups whose group IDs are 5 and 6 will not be displayed in the group list.

  • [groups-listing include=5,6]

With the help of this shortcode, only those groups whose group IDs are 5 and 6 will be displayed in the group list.

  • [groups-listing orderby=”last_activity”]

With the help of this shortcode, the recent last activity group display on the top of the group list.

  • [groups-listing orderby=”total_member_count” order=”ASC or DESC”]

With the help of this shortcode,group will be display according to the number of members with the ascending and descending order.

  • [groups-listing orderby=”name” order=”ASC or DESC”]

With the help of this shortcode,group will be display according to the name in ascending and descending order.

Ascending Order:

Descending Order:

  • [groups-listing orderby=”date_created” order=”ASC”]

With the help of this shortcode, the groups will be displayed according to the date_created with the ascending and descending order.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Update on December 23, 2022