The cycle shortcode displays cycling content slides. The options for this shortcode are shown below.

OptionDefaultExampleDescription
controls1controls="0"Display the controls
fxfadefx="scrollHorz"The transition fx, see Cycle Effects Browser
speed_in1000speed_in="1000"The speed of the “in” transition in milliseconds
speed_out0speed_out="1000"The speed of the “out” transition in milliseconds
timeout0timeout="5000"How long to display each slide in milliseconds, set to 0 to disable auto advance
width0width="300"Container width, set to 0 for full width
height0width="200"Container height, set to 0 for auto height

Example

[cycle fx="scrollHorz" speed_in="1000" speed_out="1000" timeout="5000" width="300" height="150"]
[cycle_slide]This is one slide[/cycle_slide]
[cycle_slide]<img src="example.png" alt="An image" />[/cycle_slide]
[/cycle]
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy