Two types of slider
The Palace comes with two different types of slider:[br]- The slider type A fits in any width. [br]- The slider type B must be displayed on the full width of the page. The slider type B breaks in two parts on wide screen.
[column width=”two-thirds-first”]
Slider type A
Example 1.[br][[slider_type_a category=”media-library” image_link=”full-size” images=”image-1,image-2,image-3″]]
Here we choose the media-library category so the slider will display images from the media library. image-1, image-2, image-3 are the name (as they appear in the media-library) of the images we want to display.
Nice images
[slider_type_a category=”media-library” image_link=”full-size” images=”image-1,image-2,image-3″ width=”two-thirds”]
[/column]
[column width=”one-third-last”]
Slider type A
Because this slider displays posts of the “news_deals” category if you want to have images, you need to set feature images in the posts of the “news_deals” category.
News and deals
[slider_type_a category=”news_deals” content=”excerpt” width=”one-third”]
[/column]
Slider type B
Example 1.[br][[slider_type_b category=”media-library” image_link=”full-size” images=”image-1,image-2,image-3″]]
Here we choose the media-library category so the slider will display images from the media library. image-1, image-2, image-3 are the name (as they appear in the media-library) of the images we want to display.
[slider_type_b category=”media-library” image_link=”full-size” images=”image-1,image-2,image-3″]
Example 2.[br][[slider_type_b category=”testimonial” image=”small” image_link=”none” title=”none” link=”none”]]
[slider_type_b category=”testimonial” image=”small” image_link=”none” title=”none” link=”none”]
Example 3.[br][[slider_type_b category=”rooms” content=”excerpt”]]
If you want to have images in this slider, you need to set feature images in the posts of the “rooms” category.
[slider_type_b category=”rooms” content=”excerpt”]