Menu group

Menu group is a shortcode for displaying food on menu group.

[ex_wf_mngroup layout="" style="" column="" heading_style="" count="" posts_per_page="" cat="" order="" orderby="" meta_key="" meta_value="" number_excerpt="" page_navi="" order_cat="" cart_enable="" enable_search="" featured="" enable_modal="" class="" show_count=""]

  • layout – Select Layout of Menu group ( Grid,List and Table) example:layout="list"
  • style - Select style of layout ( Grid supports style 1,2,3,4 List supports style 1,2,3 and Table supports style 1)
  • column - Select number column of style of grid or list, start 2 to 5. Default 2(Note: with grid style 3 only support 2 and 3 column) example:column="4"
  • count - A number items will be showed. Default total items(Example: you have 23 foods but you only want to display 20 foods, you can set count="20")
  • posts_per_page - Number of items per page(Example: if you have 10 foods but you only want to display 5 foods per page, you can set posts_per_page="5")
  • page_navi - Page navigation
    • page_navi="loadmore", Page navigation by button load more
    • page_navi="" (Pagination), Page navigation by numbers
  • cat - List of category/menu ids (or slug), separated by a comma(example cat="fastfood" or cat="1")
  • show_count - Show Menu/Category count, Select 'yes' to enable
    • show_count=""
    • show_count="yes"
  • order_cat - Show category food filter with custom order(Default no custom order)
    • order_cat="", not apply custom order
    • order_cat="yes" , apply custom order
  • number_excerpt - Enter number of excerpt to show(Default 10), example number_excerpt="20"
  • hide_atc - Hide add to cart button(Default No)
    • hide_atc="yes", enable
    • hide_atc="" ,not enable
  • cart_enable - Enable cart icon or not(Default yes)
    • cart_enable="yes", enable
    • cart_enable="no" ,not enable
  • order - Order ascending (order="ASC") or descending (order="DESC")
  • orderby - Choose order condition
    • 'date' - Order by date.
    • 'sale' - Order by Sale.
    • 'order_field' - Order by Custom order field.
    • 'ID' - Order by post id. Note the captialization.
    • 'author' - Order by author.
    • 'title' - Order by title.
    • 'name' - Order by post name (post slug).
    • 'modified' - Order by last modified date.
    • 'parent' - Order by post/page parent id.
    • 'rand' - Random order.
    • 'meta_value' - Note that a 'meta_key=keyname' must also be present in the query. Note also that the sorting will be alphabetical which is fine for strings (i.e. words), but can be unexpected for numbers (e.g. 1, 3, 34, 4, 56, 6, etc, rather than 1, 3, 4, 6, 34, 56 as you might naturally expect). Use 'meta_value_num' instead for numeric values.
    • 'meta_value_num' - Order by numeric meta value (available with Version 2.8). Also note that a 'meta_key=keyname' must also be present in the query. This value allows for numerical sorting as noted above in 'meta_value'.
    • 'post__in' - Preserve post ID order given in the ids array
    • 'none' - No order
  • meta_key - Enter custom field key, Show posts associated with a certain custom field
  • meta_value - Enter a value of meta key to query
  • enable_modal - Enable popup food details, default yes, to disable it: enable_modal="no"
  • featured - Show only Featured food/products, default no, to show only Featured food/products: featured="1"
  • class - add a class name and refer to it in custom CSS

 

Example: Menu group Grid style 1

[ex_wf_mngroup layout="" style="" column="3" count="100" cat="" page_navi="loadmore"]

Was this page helpful?