WordPress Carousel Pro

  1. Home
  2. Docs
  3. WordPress Carousel Pro
  4. Shortcodes

Shortcodes

Carousel from gallery

[wcpgallery ids="559,558,554,493,556,555,492"]
Attribute Default value options Description
 width  600  Numeric value only eg: 100/200/300  Used as the image width in pixel.
 height  450  Numeric vlaue only eg: 100/200/300  Used as the image height in pixel.
crop  true  true / false  Set true to crop the image.
 target _blank _blank / _self / _parent / _top  Set a target option.
 slides_to_scroll  1 Numeric vlaue only eg: 2/3/4 Number of slide to scroll at a time.
 slides_to_scroll_on_mobile  1 Numeric vlaue only eg: 2/3/4 Number of slide to scroll at a time on mobile view.
 items  5 Numeric vlaue only eg: 2/3/4  Maximum amount of items displayed at a time. It’s for largest view.
 items_desktop  3 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in desktop view. Maximum screen size is 1200px.
 items_desktop_small  3  Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in small desktop view. Maximum screen size is 980px.
 items_tablet  2 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in tablet view. Maximum screen size is 768px.
 items_mobile  1 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in mobile view. Maximum screen size is 480px.
 items_margin  10px Numeric vlaue only eg: 20px/30px
auto_play true true / false  Carousel autoplay on / off option.
auto_play_speed  3000 Numeric vlaue only  Carousel autoplay speed.
 lightbox  false  true / false  Carousel with lightbox or not.
 group  gallery  use any id
speed  300 Numeric vlaue only  Carousel speed.
ticker  false  true / false
 bullets  false  true / false  Show carousel bullets or not.
 bullets_color  #cccccc  color code
 bullets_active_color  #5dc8d0  color code
fade  false  true / false  Fade only for slingle item.
 nav  true  true / false  Show next/prev buttons.
 nav_color  #888888  color code
 nav_hover_color  #5dc8d0  color code
 auto_height  false  true / false  Use carousel height auto.
 stop_on_hover  true  true / false  Stop carousel on hover.
 draggable  true  true / false
 image_only  false  true / false  Show only image without text.
 title  false  true / false  Show image title
 title_color  #333333  color code  Show image title
 description  false  true / false  Show image description.
 description_color  #333333  color code
 rtl  false  true / false
 overlay  false  true / false
 overlay_bg  #000000  color code
grayscale blank  gray_with_color / gray_on_hover / always_gray Grayscale effect of gallery image.
orderby post__in
link “” blank true / false Enable / disable image link.

 

Testimonial

[wcp_testimonial]

12 time 5000 number Testimonial autoplay time in millisecond.

Attribute Default value options Description
 total_items  -1 Numeric vlaue only  Total number of items items to show in the carousel. Default value is unlimited.
 width  120 Numeric vlaue only  Used as the image width in pixel.
 height  120 Numeric vlaue only  Used as the image height in pixel.
 crop  true  true / false  Set true to crop the image.
 category  blank  balnk/category name/category name, category name  For all cagtegories no need to write category name; for single category = category name; for multiple categories write category names with comma = category name, category name.
items_margin  10px  number
 bullets  true  true / false  Show testimonial bullets.
 bullets_color  #cccccc  color code
 bullets_active_color  #5dc8d0  color code
 nav  true  true / false  Show testimonial next/prev buttons.
nav_color  #888888  color code
nav_hover_color  #5dc8d0  color code
 slides_to_scroll  1  number
 items  3  number  Set item number in multi items testimonial view. The attribute single_view have to be false.
 items_desktop  3 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in desktop view. Maximum screen size is 1200px.
 items_desktop_small  3 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in small desktop view. Maximum screen size is 980px.
 items_tablet  2 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in tablet view. Maximum screen size is 768px.
 items_mobile  1 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in mobile view. Maximum screen size is 480px.
 style  two  one / tow / three/ four/ five/ six / seven  Set a style from the styles..
 auto_height  false  true / false  Set testimonial height auto.
 auto_play  true  true / false
 auto_play_speed  3000  Number
 speed  300  Number
 stop_on_hover  true  true / false  Stop testimonial slide on hover.
 draggable  true  true / false
 rtl  false  true / false
 ticker  false  true / false
 fade  false  true / false  Fade only for single item.
 orderby  date
 order  DESC

 

 

Carousel from post/custom post

[wcp_post]
Attribute Default value options Description
 post_type  post  post/ wcp_item / cpt name  For default post use post and for custom post use custom post type e.g. wcp_item.
 width  600 Numeric vlaue only  Used as the image width in pixel.
 height  450 Numeric vlaue only  Used as the image height in pixel.
 crop  true  true / false  Set true to crop the image.
 total_items  -1 Numeric vlaue only  Number of total items to show. Default valuse is unlimited.
 items  3 Numeric vlaue only  Maximum amount of items displayed at a time.
 items_desktop  3 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in desktop view. Maximum screen size is 1200px.
 items_desktop_small  3 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in small desktop view. Maximum screen size is 980px.
 items_tablet  2 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in tablet view. Maximum screen size is 768px.
 items_mobile  1 Numeric vlaue only eg: 2/3/4  Maximum amount of items displays in mobile view. Maximum screen size is 480px.
 items_margin  10px Numeric vlaue only eg: 10/20
 slides_to_scroll  1 Numeric vlaue only eg: 1/2/3
auto_play  true  true / false
auto_play_speed  3000  Numeric vlaue only
speed  300  Numeric vlaue only
 category  All Category balnk / myterm / term_one,term_two Used to show carousel items from particular taxonomy term.For all cagtegories/terms no need to write category name; for single term = term_one; for multiple terms write terms name with comma = term_one, term_two.
 taxonomy  category  category / wcp_cat / custom taxonomy  Used to show items from WordPress default taxonomy or from custom custom taxonomy.
ticker  false  true / false
 bullets  true   true / false  Show carousel bulletes.
 bullets_color  #cccccc  color code
 bullets_active_color  #5dc8d0  color code
 read_more_limit  55  numeric value only  The word(excerpt text) limit to show the read more button after.
 readmore  false true / false  Show readmore button.
 readmore_text  Read More  text  Readmore button text.
 image_only  false  true / false  Show only image without text.
 nav  true  true / false  Show next/prev buttons.
 nav_color  #888888  color code
 nav_hover_color  #5dc8d0  color code
 auto_height  false  true / false  Set carousel height auto.
 stop_on_hover  true  true / false  Stop carousel on hover.
title  true  true / false  Show post title.
title_color  #333333  color code
description  true  true / false Show post description.
description_color  #333333  color code
draggable  true  true / false
rtl  false  true / false
grayscale blank  gray_with_color / gray_on_hover / always_gray Grayscale effect of post image.
 orderby  date
 order  DESC