Text commands that allow to add FW Food Menu layouts to a post and define parameters available for layouts and add-ons. Shortcode always looks like [fwfm_shortcode parameter1="xyz" parameter2="abc" ...]
.
There 5 shortcodes available in FW Food Menu:
[fwfm_categories]
- categories list - FW Food Menu plugin.[fwfm_menu]
- meals list - FW Food Menu plugin.[fwfm_mod_mealpromo]
- single meal promo block - FWFM Promo add-on.[fwfm_mod_cart]
- a summary of items in cart block - FWFM Order Basket add-on.[fwfm_mod_categories]
- a clickable list of selected categories - FWFM Categories List add-on.
Apart from shortcode there are plugins extensions that we call add-ons which can be turned off with any shortcode if required. See Plugins section below for more information.
Another type of add-ons is design. Design allows to set template
parameter and change layout appearance. See Designs section below for more information.
[fwfm_categories]
- categories list[fwfm_menu]
- meals list
Categories Layout
shows categories with their titles, short descriptions. number of meals and View Menu button, depending on settings. Categories
look may vary depending on a parent category or global Settings
Design parameter.Set categories available for layout by defining their IDs.
Options: comma separated category IDs.
Align category title and short description text.
Options: left, center, right.
Define if categories short description should appear on this layout.
Options: on, off.
Show meals counter at the bottom of a category block.
Options: on, off.
Display a button called View Menu at the bottom of a category block to let a customer open a meals page by clicking it.
Options: on, off.
Additional parameters from add-ons specific to a particular shortcode can be added via add_params parameter separated with a | (pipe) symbol.
cols_qty
- FWFM Columns add-on
Description: number of meal columns for this categories layout.
Options: 1, 2, 3, 4.
category_meal_image
- FWFM Images add-on
Description: Category Title image position and visibility + background Meals slideshow configuration.
Options: title, slideshow, all, none.
Title image option will show only category Title image
set in a category parameters. Title image
position is defined by parameter below or parameter set in a category. Parameter below has a priority.
Meal slideshow is an option when a category block shows all meals images as a background slideshow for a category block. If this parameter selected only slideshow will be shown.
Both option will show Title image
along with Meal slideshow
at the same time.
None option will show no images at all. Neither Title image nor Meals slideshow even if images are set.
category_image_position
- FWFM Images add-on
Description: if Title image is visible this parameter will define category image position in relation to a category title.
Options: top, left, right, hide.
Set categories available for layout by defining their IDs.
Options: comma separated category IDs.
Align category title and short description text.
Options: default, grid, order.
Default.A standard FW Food Menu meal layout.
Grid. A tab like layout with selected categories with their own design and layout setting.
Order. Order page with category list, search bar and order form according to Order Online settings.
Additional parameters from add-ons specific to a particular shortcode can be added via add_params parameter separated with a | (pipe) symbol.
cascading_show_categories_as
- FWFM Cascading Layout add-on
Description: Define cascading tabs layout.
Options: tabs, carousel.
Tabs - all selected categories are shown next to each other and then down below. Looks and works as tabs.
Carousel - one line slider that shows all selected categories as a row and scroll them as you hover and move a mouse over it.
cascading_items_in_row
- FWFM Cascading Layout add-on
Description: A number of items shown per row for a Carousel
layout.
Options: any integer number.
cascading_category_image
- FWFM Cascading Layout add-on
Description: Define if category Title image
should show up and where.
Options: top, left, right, hide.
cascading_short_description
- FWFM Cascading Layout add-on
Description: Use Short description
as a tag line or a short intro text right below a category name.
Options: on, off.
order_cols_qty
- FWFM Order Online add-on
Description: Sets layout for all categories overwriting category Design & Layout
settings. Show meals as a list (1 column) or in multiple columns (2,3...). Default settings will use Meal category
column setting.
Options: 1, 2, 3.
order_show_search
- FWFM Order Online add-on
Description: A meal search text field will be visible on top of the meals list allowing to find items by a name or description.
Options: on, off.
order_show_cats
- FWFM Order Online add-on
Description: A list of categories selected for Online Order
layout will be shown on the left column to help navigate through the list. Clicking a category will scroll a page up and down to show selected category. A category list will remain visible while scrolling.
Options: on, off.
order_show_order
- FWFM Order Online add-on
Description: An order form with an info block, a list of selected meals, tax, delivery and total will be show in the right column presenting current order state. A form will remain visible on scroll.
Options: on, off.
[fwfm_mod_mealpromo]
- single meal promo block - FWFM Promo add-on.[fwfm_mod_cart]
- a summary of items in cart block - FWFM Order Basket add-on.[fwfm_mod_categories]
- a clickable list of selected categories - FWFM Categories List add-on.
FWFM Order Online
(Order button), FWFM Prices & Discounts
(price label and discount) and FWFM Meal Badges
add-ons will appear on promo block if available.Select one of available meals from FW Food Menu to display as a separate promo block with its own design anywhere on a website.
Options: published meal name.
A size of a promo block in pixels. Define a maximum size in pixels between 250px and 500px to fit into area where it should appear. A block will shrink and adjust on mobile devices automatically.
Options: integer number from 250 to 500.
Promo comes with designs that will increase and update over time. Depending on a meal and elements used some design will work with with certain images better, depending on an image and elements used. Every design has specific meal title, image, price with a label (first only if several), description, meal badges and order button styles. Of course you can modify them yourself via CSS, but every design is a finished meal presentation.
Options: promo_01, promo_02, promo_03, promo_04, promo_05, promo_06.
A short text on a promo block to add some extra info like "Meal of the day" or "Special". Make your meal stand out and specify why exactly selected meal is special for. If left empty will not show. Please note that every design has a Label
in a different place. You can always see it on a preview.
Options: any text.
FWFM Order Online
add-on is required for module to work.Category list
it will not reload and will just scroll to a category clicked. If a module show categories located on a different page a link will take a customer to a page with a category and scroll to its title. There is a Hide hidden titles
parameter that helps to keep Category list
clean from non-visible categories.Select parent categories with their subcategories to be shown in Category list
.
Options: comma separated category IDs.
Hide categories which has Show title
parameter set to No. Using categories with no titles allows to add text blocks in-between categories or group other categories into sections with different number of columns, thus they will not contain any meals.
Options: on, off.
There is a list of functional add-ons that extend main functionality. Those add-ons can be switched on/off using plugins
parameter. If multiple add-ons needs to be switched off, use I (pipe) symbol to add an extra add-on.
The list of available parameters can be found below.
Add-on name | Parameter |
---|---|
FWFM Order Online | cart |
FWFM Images | image |
FWFM Prices & Discounts | prices |
FWFM Cascading Layout | cascading |
FWFM Meal Badges | mealbadges |
FWFM Columns | columns |
FWFM Category PDF | categorypdf |
FWFM Color & Background | color |
FWFM SEO Booster | seobooster |
FWFM Multilingual | multilingual |
template
parameter if any design add-ons are installed. The list of available designs can be found below.