The FWFM Categories Module displays a list or tree of your food menu categories as a navigation block. Embed it anywhere on your site using the [fwfm_mod_categories] shortcode or the dedicated WordPress widget.
The module reads your published food menu categories and renders them as a linked navigation list. Subcategories appear nested under their parent category. When a visitor clicks a category, they are taken directly to that category section on your menu page. The current active category is highlighted based on the page URL.
Add the following shortcode to any page or post content area:
[fwfm_mod_categories]
You can pass parameters directly in the shortcode to control which categories appear and how the block is styled. For example:
[fwfm_mod_categories categories="12,15" module_class_suffix="my-nav"]
To place the category list in a sidebar or widget area:
| Parameter | Type | Default | Description |
|---|---|---|---|
| categories | Multi-select / comma-separated IDs | All | Restrict the list to specific categories. Leave empty to show all published categories. |
| module_class_suffix | Text | — | A CSS class appended to the module wrapper element, useful for custom styling. |