Skip to content
Learnomy

Categories and Tags

Watch the walkthrough, or read the steps below. More video tutorials →

Learnomy course categories

Categories group courses by subject area. Tags are flat labels you can apply across courses, lessons, quizzes, and questions. Both help students browse and discover content.

Overview

Both are managed from Learnomy → Categories. The page has tabs: one for Categories and one tab per tag vocabulary (Course Tags, Lesson Tags, Quiz Tags, and so on).

Categories

The category tree

The Categories tab shows all course categories in a hierarchical tree.

Categories page

Categories header

The tree view shows parent categories and their children indented beneath them. Each row shows the category name, slug, and course count.

Category tree

Row actions: Edit opens the inline form pre-filled with the category's data. Delete removes the category. If the category still has courses, deleting it does not lose them: like WordPress moving posts to the default category, Learnomy moves those courses to Uncategorized and then removes the category. The confirmation explains that the courses will move, and the success message reports how many were moved. The courses themselves stay published. Deleting an empty category removes it with a plain confirmation.

Adding a category

The Add New Category form sits on the left side of the Categories tab.

Add category form

  1. Go to Learnomy → Categories.
  2. Fill in the Name field. This is the display name shown in the catalog and on course cards.
  3. The Slug auto-generates from the name. Change it if you want a different URL fragment (for example, /courses/category/web-dev/).
  4. Optionally choose a Parent Category to make this a sub-category.
  5. Optionally add a Description (shown on the category archive page header).
  6. Click Add Category.

Editing a category

  1. Click Edit on any category row.
  2. The add form on the left side of the page fills with the category's current values.
  3. Make your changes and click Update Category.

Assigning a category to a course

When creating or editing a course, select the category from the Category dropdown in the course form. A course can belong to one category at a time.

Category archive pages

Each category has a public archive page at /courses/category/your-slug/. The catalog filter bar also lets students filter by category. The category archive shows the same course card grid and supports the same sort options as the main catalog.

Tags

Tags are flat (no hierarchy) and shared across multiple content types. The available tag vocabularies are: Course Tags, Lesson Tags, Quiz Tags, and Question Tags.

Switching between tag vocabularies

Click the tab for the vocabulary you want to manage (for example, "Course Tags").

Adding a tag

  1. Click the tab for the tag type (for example, Course Tags).
  2. In the Add New Tag form, enter the Name and optionally edit the Slug.
  3. Click Add Tag.

Assigning tags

  • Course tags -- assign from the course form. A multi-select field in the course form shows all course tags.
  • Lesson tags -- assign from the lesson editor.
  • Quiz tags -- assign from the quiz editor.
  • Question tags -- assign from the question editor.

Tags do not affect the catalog filter in Free. They are available for custom filtering via the learnomy_catalog_where_clauses hook.

Tips

  • Category names are de-duplicated in the catalog filter dropdown. If two categories have the same name (for example after an import), only the oldest one appears in the dropdown. Use the admin tree view to find and clean up duplicates.
  • Changing a category's slug changes its archive URL. Any external links pointing to the old URL will break. Use a redirect plugin if you rename a category after publishing.
  • Category course counts are computed live on every read from the database, so they are always accurate. There is no stale counter to repair. If a count looks wrong after a bulk import, reload the page.
  • The tag system uses the lrn_tags and lrn_tag_map tables with a type column to separate vocabularies. This means a Course Tag and a Lesson Tag with the same name are separate records.

Related