Skip to content
Tutorials Center
My learning

Topics

Lesson 12 of 37 ยท Articles and Categories

Tags and Featured Articles in Joomla

Use tags to cross-link articles beyond categories, build tag-based menu pages, and use the Featured flag to curate a home page, with runnable filter examples.

A category tells you where an article lives. A tag tells you what it is about. Joomla lets you attach any number of tags to an article, so one story can appear in several topic lists even though it has only one category. The Featured flag is a different tool: a simple switch that tells Joomla "put this one in the highlighted list". Together they let you build topic pages, related-content boxes and a curated home page without duplicating anything.

The admin screens are described in words; stand-ins model the filtering logic.

Tags

Tags are managed in Components > Tags. A tag has a title, alias, optional description and image, and it can be nested like categories (for example Cooking > Baking). You do not need to create them in advance: in the article form, the Tags field lets you type and choose existing tags or press Enter to create a new one on the fly.

Tags work across components: articles, contacts, categories and other content types that support tags can share the same tag.

Showing content by tag

Tags become visible to visitors through menu items and modules:

  • A menu item of type Tags > Tagged Items lists all items with the chosen tag(s).
  • Tags > List of All Tags shows a tag cloud-like list.
  • Tags > Compact list of tagged items and Tags > Tagged Items differ in layout.
  • Modules such as Tags - Popular and Tags - Similar show popular tags or related articles (similar tags) next to the main content.
  • The article layout can show the article's tags below the text, with links to the tag pages.

Category or tag?

Category One per article, builds structure and URLs
Tag Many per article, groups by topic
Featured A flag for the highlighted list

Use all three for different jobs

1 / 2

Categories versus tags

Category Tag
Per article Exactly one Zero or many
Role Primary location, permissions, URL path Topic labels, related content
Hierarchy Nested Nested (optional)
Permissions Yes, per category No
Typical use News, Help, Products joomla, tutorial, beginner

A good rule: if you would set permissions on it or show it in a main menu, it is a category. If you want cross-links, it is a tag.

Tag logic

A tagged-items page can match any of several tags (a union) or all of them (an intersection). Related-content modules use the overlap between tag sets to rank similar articles. The stand-in below shows this logic.

JS Stand-in: any/all tag matching

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The three lines produce three different lists. A menu item with several tags and the "match all" option behaves like the third call.

JS Stand-in: similar articles by shared tags

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Sorting by the number of shared tags is the idea behind similar-content modules: more overlap means more relevant. Good tagging, not clever code, is what makes the result useful.

Every article has a Featured flag (the star icon in the list, or the Featured switch in the form). Featured articles can be shown by a menu item of type Articles > Featured Articles, which is often the home page of a Joomla site. You can control its layout: the number of leading articles (full width), intro articles in columns, and links to further articles, plus which categories to include or exclude.

Featured articles can also have Start Featured and Finish Featured dates in the article's Publishing tab (or in the Featured Articles list). That way you can highlight an item for a week without remembering to remove it. Featured is independent from the category: a featured article still sits in its normal category.

The Content > Featured Articles list in the backend shows exactly what is currently highlighted and lets you reorder them.

JS Stand-in: build a home page from featured articles

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The "Weekend sale" ended yesterday and "Autumn recap" has not started yet, so only one article remains in the leading slot.

Good practice

  • Use a controlled tag vocabulary. Joomla, joomla and Joomla CMS become three tags; decide spelling rules.
  • Do not tag everything. Three to five meaningful tags per article beat twenty.
  • Merge duplicates in the Tags component rather than leaving them.
  • Feature sparingly. A home page with 30 featured items has no highlight at all.
  • Check the empty state: a tag page for a tag nobody uses looks broken, so unpublish unused tags.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the main difference between a category and a tag?

    One category gives structure and permissions. Tags give flexible topic labels.
  2. 2. Which menu item type usually serves as a Joomla home page?

    Featured Articles lists the highlighted items. Many sites use it as the home page, though any type can be the home.
  3. 3. How do you show only articles that have ALL of several tags?

    Tagged Items menu items can combine tags; matching all tags returns the intersection.
  4. 4. What do Start Featured and Finish Featured dates do?

    They schedule the featured highlight without changing publishing status.

Summary

  • Tags are flexible topic labels, available across components and optionally nested.
  • Use categories for structure and permissions, tags for topics and related content.
  • Tagged Items menu items and tag modules turn tags into pages and boxes.
  • The Featured flag powers curated lists, often the home page, and can be scheduled.
  • Keep tag names consistent and feature items sparingly.

Next: Custom Fields for Structured Content