Title: Shortcode warning message
Last modified: August 20, 2016

---

# Shortcode warning message

 *  [Sander](https://wordpress.org/support/users/zanderz/)
 * (@zanderz)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/shortcode-warning-message/)
 * The FAQ mentions the following:
 * > I’m getting the following error message when using PHP to display my slider(
   > with all slides): Warning: Missing argument 1 for nextslider_slider_template(),
   > called in etc. etc.
   >  Some hosting set-ups may have this issue. Just give it an empty parameter 
   > like so:
   >  // All slides, with empty parameter set to stop warning from appearing
   > <?php echo nextslider_slider_template(”); ?>
 * 1. the slider is not called with the nextslider_slider_template function, but
   with ctslider_slider_template so you might want to fix that.
    2. You as plugin
   author can easily fix this yourself by changing line 5 in includes/front-end/
   template.php Instead of `function ctslider_slider_template( $id ) {` write `function
   ctslider_slider_template( $id = '') {` instead and people won’t have this issue
   anymore.
 * [http://wordpress.org/extend/plugins/captain-slider/](http://wordpress.org/extend/plugins/captain-slider/)

The topic ‘Shortcode warning message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/captain-slider_e0c4ba.svg)
 * [Captain Slider](https://wordpress.org/plugins/captain-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captain-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captain-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/captain-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captain-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captain-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Sander](https://wordpress.org/support/users/zanderz/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/shortcode-warning-message/)
 * Status: not resolved