Press Enter to search or Esc to close

FW Food Menu – Documentation

Module Shortcodes

FW Food Menu tutorial for WordPress

Module Shortcodes

FW Food Menu modules can be embedded directly into any page or post content using shortcodes, without placing them in WordPress widget areas. Each shortcode renders a self-contained block that can appear anywhere on a page alongside other content.

[fwfm_mod_cart] — Shopping Cart

Displays the shopping cart module inline within page content. No parameters are required.

Example:

  • [fwfm_mod_cart]

[fwfm_mod_categories] — Categories List

Displays a list of food menu categories. Use the parameters below to limit which categories appear.

  • category_id — Comma-separated list of category IDs to display. Example: category_id="1,2"
  • categories — Pipe-separated category names looked up in the database. Example: categories="Starters|Mains"

Example — show specific categories in a sidebar:

  • [fwfm_mod_categories category_id="1,2"]

[fwfm_mod_mealcategory] — Meal Category Block

Displays a block of meals belonging to one or more categories. Use the parameters below to control which categories are shown.

  • category_id — Comma-separated list of category IDs. Example: category_id="3"
  • categories — Pipe-separated category names. Example: categories="Desserts|Drinks"

Example:

  • [fwfm_mod_mealcategory category_id="3"]

[fwfm_mod_mealpromo] — Meal Promo Block

Displays a promotional block for a single featured meal. Identify the meal by name or by its ID.

  • meal — The name of the meal to feature. Example: meal="Margherita Pizza"
  • meal_id — The numeric ID of the meal. Example: meal_id="15"

Example — promo meal on a homepage:

  • [fwfm_mod_mealpromo meal_id="15"]

[fwfm_mod_time] — Opening Hours

Displays the opening hours module. No parameters are required. Place this shortcode above the main menu shortcode to show opening hours before the meal listing.

Example — opening hours above the menu:

  • [fwfm_mod_time]
  • [fwfm_menu]

Was this article helpful?
Previous
Ingredients & Allergens
Next
Why do I need to verify my website?
  • Client Login

    Restore password
  • New Registration

or
Make sure @fastw3b.com email domain is white-listed in your email client to restore password, verify registration, get order confirmations, etc.