/** * Constructor */ public function __construct() { $this->widget_cssclass = 'jobify_widget_slider'; $this->widget_description = __('Display a Soliloquy slider with captions.', 'jobify'); $this->widget_id = 'jobify_widget_slider'; $this->widget_name = __('Jobify - Home: Solioquy Content Slider', 'jobify'); $this->settings = array('slider' => array('type' => 'select', 'label' => __('Slider:', 'jobify'), 'options' => jobify_slider_options(), 'std' => 0), 'background' => array('type' => 'text', 'label' => __('Background Image URL:', 'jobify'), 'std' => '')); parent::__construct(); }
/** * Constructor */ public function __construct() { $this->widget_cssclass = 'jobify_widget_slider_hero'; $this->widget_description = __('Display a "Hero" Soliloquy slider.', 'jobify'); $this->widget_id = 'jobify_widget_slider_hero'; $this->widget_name = __('Jobify - Home: Solioquy Hero Slider', 'jobify'); $this->settings = array('slider' => array('type' => 'select', 'label' => __('Slider:', 'jobify'), 'options' => jobify_slider_options(), 'std' => 0)); parent::__construct(); }