Contents

Categories — Plugixa FAQ

Categories group related FAQs. They also carry a color and icon that flow through to the frontend, and they support translations.

The category list

Go to Plugixa FAQ → Categories.

Category list with language filter

Columns:

  • Name / Slug — display name and URL slug.
  • Color swatch — the assigned color.
  • FAQs — count of FAQs assigned.
  • Language — when Multilingual is active.
  • Order — drag handle for reordering.

Creating a category

Click Add New.

Category form

Field Notes
Name Up to 200 characters. Required.
Slug Auto-generated from the name. Unique. Used in shortcodes (category="slug").
Description Optional. Shown at the top of a grouped FAQ display when show_category_description="true".
Color Hex color. Used in badges and optionally in view headers.
Icon Dashicon name or SVG.
Feedback enabled Master toggle for all FAQs in this category. Per-FAQ override is possible.

Category color picker

Editing

Click a category name or the Edit action. All fields above are editable. Changing the slug breaks any shortcode that references the old slug — update with care.

Ordering

Reordering categories

Drag the handle on each row. Updates the menu_order column. The order affects:

  • The grouped FAQ display (group_by_category="true").
  • The admin FAQ filter dropdown.
  • The AI generator’s category picker.

Filtering by language Multilingual

When WPML or Polylang is active, the language switcher at the top of the list filters categories:

  • One language selected — shows only that language’s categories.
  • All languages — shows every category grouped by translation.

Categories filtered to show French only

Categories in the “All” multilingual view

Deleting

Click Delete on a row. You’re asked what to do with the FAQs in that category:

  • Uncategorize them — FAQs remain, category_id set to NULL.
  • Reassign them — pick another category.
  • Delete them too — also deletes the FAQs. Irreversible.

Nested categories PRO

Pro unlocks parent/child categories. Set Parent category on the form to create a subcategory.

Typical structure:

Account
├── Sign up
├── Login issues
└── Account settings
    ├── Change email
    └── Change password
Shipping
├── Domestic
└── International

Nested categories flow into the shortcode’s group_by_category mode as indented headers.

Translations Multilingual

Each category can have translations linked by translation_group. Translatable fields: name, slug, description. Shared fields (color, icon, menu_order, feedback_enabled) stay identical across all translations.

See Multilingual for how translation groups work and how to link items.

Creating categories from FAQs

In the FAQ editor’s Category dropdown, type a new name and click Create. The plugin creates the category with a slug auto-generated from the name. No need to switch screens.

REST API

Method Endpoint
GET /wp-json/plugixa-faq/v1/categories
POST /wp-json/plugixa-faq/v1/categories
GET /wp-json/plugixa-faq/v1/categories/{id}
PUT /wp-json/plugixa-faq/v1/categories/{id}
DELETE /wp-json/plugixa-faq/v1/categories/{id}
POST /wp-json/plugixa-faq/v1/categories/reorder

See Hooks for before_* / after_* action hooks on every mutation.

Quick Links