## Category menu panel and post counts

Product: Fabula - News & Magazine WordPress Theme
URL: https://hub.jkdevstudio.com/docs/fabula/header-and-footer/category-menu-panel-and-post-counts
Updated: 2026-11-28
Summary: Show a post count beside category links in the Fabula main menu and open a panel of that category's posts on hover or keyboard focus. Free theme, desktop only.

A category link in your main menu can show how many posts the category holds and, on hover or keyboard focus, open a panel with that category's latest posts. Both are off by default and set at [[Appearance > Customize > Fabula Theme > Navigation]].

## Set it up

:::steps

### Add categories to the menu

Go to [[Appearance > Menus]], open the **Categories** box on the left, and add the categories you want to your main menu. Keep them at the top level of the menu.

### Turn on the count, the panel, or both

Go to [[Appearance > Customize > Fabula Theme > Navigation]] and switch on **Post count beside categories**, **Category posts panel**, or both.

### Choose the panel's posts

With the panel on, set **Posts in the panel** and **Number of posts**, then hover a category in the menu to check it.

:::

<figure class="doc-figure" data-align="center"><img src="https://hub.jkdevstudio.com/storage/docs/2026/11/26365bfc-6dd1-4e34-a6dd-8e8a7538e559.webp" alt="The Navigation section of the Customizer with Category posts panel ringed"><figcaption>The Navigation section of the Customizer.</figcaption></figure>

:::options

- **Post count beside categories** (default: off): A small number next to the category name.

- **Category posts panel** (default: off): Hovering or focusing a category opens a panel with its posts.

- **Posts in the panel** (default: Latest posts): `Latest posts`, or `Sticky first`. With `Sticky first`, the sticky posts of that category come first and the latest posts fill the remaining places.

- **Number of posts** (default: 4): From 2 to 5.

:::

## What the panel shows

The panel opens under the menu item. It shows the category name with its post count, the first words of the category description when you wrote one, an **All posts** link to the category page, and the posts as small cards with the image, title, and date. A category with no posts opens no panel.

<figure class="doc-figure" data-align="center"><img src="https://hub.jkdevstudio.com/storage/docs/2026/11/5566f963-fbf0-46df-b37e-fd5ed794be37.webp" alt="The open category panel under the main menu, with the post count, description, All posts link, and four post cards"><figcaption>The panel opened from a category link.</figcaption></figure>

## Limits

- **Top-level categories only.** A category inside a drop-down gets neither the count nor the panel.
- **Category items only.** A link to a page or a custom link gets neither.
- **Desktop menu only.** The full-screen mobile menu shows plain links.

The panel is built with the page, so a menu with many categories adds work to every uncached page view. Keep the number of category items with a panel small.

<div data-callout="info">

While Fabula Pro is active, the Customizer **Navigation** section is hidden. Pro has its own category sub menus, which load their posts on hover. See [Menu item options and mega menus](https://hub.jkdevstudio.com/docs/fabula/header-and-footer/menu-item-options-and-mega-menus).

</div>