Shortcodes


Forums

To list the forums, use this shortcode on a page. Note that you can use the generator in Topics > Settings to create a page that contains the shortcode.

[groups_forums]


Attributes (all are optional) :
show_count : "true" (default) or "false" to show how many topics there are in each forum
orderby : "ID" or "name" (default) to sort by forum ID or by forum name
order : "ASC" (default) or "DESC" to sort in ascending or descending order


Front End create/edit topic

Use this shortcode to show a form where users can create and edit topics on the Front End. Note that you can use the generator in Topics > Settings to create a page that contains the shortcode.

[groups_forums_topic]


User’s topics

This shortcode renders a list of links for a subset of the current user’s topics. The shortcode can also be used to render such a list for topics from all users.

[groups_forums_user_topics]


Attributes (all are optional) :
number : how many topics to include, default "10"
show_author : whether to show the topic author for each topic, default "false"
show_date : whether to show topic dates, default "true"
show_comment_count : whether to show how many replies topics have, default "true"
orderby : "post_date" (default) or "title"
order : "ASC" or "DESC" to sort in ascending or descending order
forum_id : indicate the forum ID to restrict the list to topics in a specific forum
all : show topics for the current user only using "false" (default), use "true" to show topics for all users
post_status : include topics by status, defaults to "publish,pending" to include both topics that have been approved and published, as well as those that are pending review


Tag cloud for topics

This renders a tag cloud for keywords that are related to topics.

[groups_forums_tags]


Attributes (all are optional) :
smallest : text size for the smallest tag, "8" by default
largest : text size for the biggest tag, "22" by default
unit : CSS text size unit, for example "pt" (default), "px" or "em"
number : how many tags to display, defaults to "45"
format : "flat" (default) or "list", the latter will render the tags as an HTML list
separator : tag separator, defaults to the newline character
orderby : "name" (default) or "count" to order tags by name or frequency of occurrence
order : "ASC" or "DESC" to sort tags by ascending or descending order


Search form

This shortcode renders a search form that limits results to forum topics.

[groups_forums_search]