diff --git a/docs/channels/categories.md b/docs/channels/categories.md index 79871b70d..ad7f5419f 100755 --- a/docs/channels/categories.md +++ b/docs/channels/categories.md @@ -236,6 +236,14 @@ This variable simply displays the name of the category. This variable displays the URL title of the category +### `{category_group_id}` + +The ID of category group that the category belongs to. + +### `{category_group_name}` + +The name of the category group that the category belongs to. + ### `{count}` The "count" out of the current categories being displayed. If five categories are being displayed, then for the fourth category the {count} variable would have a value of "4". diff --git a/docs/channels/category-archive.md b/docs/channels/category-archive.md index 6cdca6b41..c39df49ae 100755 --- a/docs/channels/category-archive.md +++ b/docs/channels/category-archive.md @@ -297,7 +297,15 @@ This displays the name of the category. ### `{category_url_title}` -This variable displays the URL title of the category: +This variable displays the URL title of the category + +### `{category_group_id}` + +The ID of category group that the category belongs to. + +### `{category_group_name}` + +The name of the category group that the category belongs to. ### `{path}` diff --git a/docs/channels/category-heading.md b/docs/channels/category-heading.md index ee6c9b63a..9f93c65de 100755 --- a/docs/channels/category-heading.md +++ b/docs/channels/category-heading.md @@ -104,6 +104,14 @@ The name of the category being viewed. The URL title of the category. +### `{category_group_id}` + +The ID of category group that the category belongs to. + +### `{category_group_name}` + +The name of the category group that the category belongs to. + ### Custom Category Fields All custom fields assigned to a category can be accessed using the "short name" of the field: diff --git a/docs/channels/entries.md b/docs/channels/entries.md index fc5cdf8bc..cd2d126b6 100755 --- a/docs/channels/entries.md +++ b/docs/channels/entries.md @@ -1446,6 +1446,14 @@ The total number of categories being displayed. This variable displays the URL title of the category +##### `{category_group_id}` + +The ID of category group that the category belongs to. + +##### `{category_group_name}` + +The name of the category group that the category belongs to. + ##### `{parent_id}` The category ID associated with the category's parent (or 0 in the case of a top level category).