Renders a single category: name, description, image and url. On a category page the component detects the category from the URL automatically.

Usage

<div data-v-component-category>
  <h1 data-v-category-name></h1>
  <div data-v-category-content></div>
</div>

Settings

  • data-v-taxonomy_item_id - category id (default url)
  • data-v-slug - category slug (default url)
  • data-v-type - categories or tags
  • data-v-site_id / data-v-language_id - site and language, default to current