Food Carousel

Food Carousel is a shortcode for displaying food on slider .

[ex_wf_list style="" count="" menu_filter ="" order_cat="" menu_pos="" posts_per_page="" ids="" cat="" page_navi="" number_excerpt="" cart_enable ="" orderby="" meta_key="" enable_search="yes"]


  • style - Select number style start 1 to 4(example style="1")
  • 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")
  • slidesshow - number items per slide (Default:3)
  • slidesscroll - number of slides to scroll at a time (Default = slidesshow)
  • ids - List of IDs to query, separated by a comma(example ids="1,2,3")
  • cat - List of category ids (or slug), separated by a comma(example cat="fastfood" or cat="1")
  • number_excerpt - Enter number of excerpt to show(Default 10), example number_excerpt="20"
  • order - Order ascending (order="ASC") or descending (order="DESC")
  • orderby - Choose order condition
    • 'date' - Order by date.
    • 'order_field' - Order by Custom order field.
    • 'sale' - Order by Sale.
    • '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
  • autoplay - Auto next slide or not
    • autoplay="" - not auto
    • autoplay="1" - auto
  • autoplayspeed - Autoplay Speed in milliseconds. Default:3000, it work only autoplay="1"(example autoplay="1" autoplayspeed="1000")
  • loading_effect - Enable or disable effect when loading
    • loading_effect="" - no effect
    • loading_effect="1" - apply effect
  • infinite - Infinite loop sliding ( go to first item when end loop)
    • infinite="" - not infinite
    • infinite="yes" - infinite
  • 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
    • 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: Carousel style 2 with 3 items visible, Auto play(1 seconds) and Infinite( go to first item when end loop) click here to view detail demo

Was this page helpful?