Primary

[documentation_documents]

The [documentation_documents] shortcode lists documents and is the equivalent to the Documents widget.

Attributes:

  • category_id : Show documents in a category. The value of the attribute can be empty, a document category ID or {current}.
  • number : Defaults to -1 to display an unlimited number of documents, or indicate any number to limit the number of documents to display.
  • order : Use ASC or DESC to show documents in ascending or descending order.
  • orderby : What criterion is used to sort the documents listed. Defaults to title and can be name, author, date, title, modified, menu_order, parent, id, rand (for random order) and comment_count (sort by number of comments related to a document).
  • show_author : Whether to show the author or not, possible values are “yes” and “no” (default).
  • show_comment_count : Whether to show the number of comments, possible values are “yes” and “no” (default).
  • show_date : Whether to show the document’s date, possible values are “yes” and “no” (default).