/** * Function for templates without widget support * * @param integer $galleryID * @param string $width * @param string $height * @return echo the widget content */ function echo_widget_slideshow($galleryID, $width = '', $height = '') { wp_enqueue_style('nextgen_widgets_style', $this->get_static_url('widget#widgets.css')); wp_enqueue_style('nextgen_basic_slideshow_style', $this->get_static_url('nextgen_basic_slideshow#nextgen_basic_slideshow.css')); $widget = new C_Widget_Slideshow(); $widget->render_slideshow($galleryID, $width, $height); }
/** * Function for templates without widget support * * @param integer $galleryID * @param string $width * @param string $height * @return echo the widget content */ function echo_widget_slideshow($galleryID, $width = '', $height = '') { $widget = new C_Widget_Slideshow(); $widget->render_slideshow($galleryID, $width, $height); }