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.
Displays the shopping cart module inline within page content. No parameters are required.
Example:
[fwfm_mod_cart]Displays a list of food menu categories. Use the parameters below to limit which categories appear.
category_id="1,2"categories="Starters|Mains"Example — show specific categories in a sidebar:
[fwfm_mod_categories category_id="1,2"]Displays a block of meals belonging to one or more categories. Use the parameters below to control which categories are shown.
category_id="3"categories="Desserts|Drinks"Example:
[fwfm_mod_mealcategory category_id="3"]Displays a promotional block for a single featured meal. Identify the meal by name or by its ID.
meal="Margherita Pizza"meal_id="15"Example — promo meal on a homepage:
[fwfm_mod_mealpromo meal_id="15"]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]