Serious Slider Shortcode

Below, you’ll find a detailed guide on how to add the Serious Slider Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Serious Slider Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the Serious Slider Plugin and the shortcodes it provides:

Plugin Icon
Serious Slider

Serious Slider is a highly versatile WordPress plugin. It effortlessly allows you to create stunning, responsive image and content sliders to enhance your site's visual appeal.

★★★✩✩ (8) Active Installs: 30000+ Tested with: 6.1.4 PHP Version: 5.6
Included Shortcodes:
  • [cryout-serious-slider]

Serious Slider [cryout-serious-slider] Shortcode

The Cryout Serious Slider shortcode is used to render a customizable slideshow on your WordPress website. It pulls images, captions, and links from a specified slider ID, then displays them in a sequence. The shortcode allows for various customization options like sorting order, hiding captions, and adjusting responsiveness. It also includes styling options for different themes.

Shortcode: [cryout-serious-slider]

Parameters

Here is a list of all possible cryout-serious-slider shortcode parameters and attributes:

  • id – Specifies the unique ID of the slider.
  • count – Determines the number of slides to display.
  • hidetitle – If set, hides the title of the slide.
  • hidecaption – If set, hides the caption of the slide.
  • orderby – Sets the order of the slides based on different parameters.

Examples and Usage

Basic example – Displaying a slider using its ID

[cryout_serious_slider id=1 /]

Advanced examples

Displaying a slider with a specified count of slides, hiding the title, and setting the sorting order to random.

[cryout_serious_slider id=1 count=5 hidetitle=true sort='rand' /]

Displaying a slider with a specified count of slides, hiding the caption, and setting the sorting order by publish date.

[cryout_serious_slider id=1 count=5 hidecaption=true sort='date' /]

Displaying a slider with a specified count of slides, hiding the title, and setting the sorting order by menu order.

[cryout_serious_slider id=1 count=5 hidetitle=true sort='order' /]

PHP Function Code

In case you have difficulties debugging what causing issues with [cryout-serious-slider] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( $this->shortcode_tag, array( $this, 'shortcode_render' ) );

Shortcode PHP function:

Code file location:

cryout-serious-slider/cryout-serious-slider/inc/shortcodes.php

Conclusion

Now that you’ve learned how to embed the Serious Slider Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *