public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_medium_img'; $name = __('Kopa Posts Medium IMG', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_medium_img widget-popular', 'description' => __('Display posts with medium thumbnail (align left)', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_without_img'; $name = __('Kopa Posts Without IMG', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_without_img widget-hot-news', 'description' => __('Display posts without thumbnail', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['is_hide_readmore']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_carousel_two_cols'; $name = __('Kopa Carousel Two Cols', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_carousel_two_cols widget-feature-news-slider', 'description' => __('Display posts with owl carousel (two cols)', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['is_hide_readmore']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_big_img'; $name = __('Kopa Posts Big IMG', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_big_img widget-list-post', 'description' => __('Display posts with layout: big thumb for first, small for next', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['is_hide_views']); unset($this->groups['col-1']['fields']['is_hide_likes']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_carousel_single'; $name = __('Kopa Carousel Single', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_carousel_single widget-feature-slider', 'description' => __('Display posts with owl carousel (single item per slide)', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['excerpt_character_limit']); unset($this->groups['col-1']['fields']['is_hide_excerpt']); unset($this->groups['col-1']['fields']['is_hide_readmore']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_carousel_scroll'; $name = __('Kopa Carousel Scroll', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_carousel_scroll widget-random', 'description' => __('Display posts with owl carousel (scroll bottom)', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['is_hide_comments']); unset($this->groups['col-1']['fields']['is_hide_likes']); unset($this->groups['col-1']['fields']['is_hide_views']); unset($this->groups['col-1']['fields']['is_hide_readmore']); $this->groups['col-1']['fields']['posts_per_page']['default'] = 6; }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_carousel_thumb'; $name = __('Kopa Carousel Thumb', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_carousel_thumb widget-list-video', 'description' => __('Display posts with owl carousel (only thumb)', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['excerpt_character_limit']); unset($this->groups['col-1']['fields']['is_hide_excerpt']); unset($this->groups['col-1']['fields']['is_hide_comments']); unset($this->groups['col-1']['fields']['is_hide_likes']); unset($this->groups['col-1']['fields']['is_hide_views']); unset($this->groups['col-1']['fields']['is_hide_readmore']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_owl_slider'; $name = __('Kopa Slider Steel', kopa_get_domain()); $widget_options = array('classname' => 'kopa_owl_slider', 'description' => __("This is slider with owl carousel", kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['posts_per_page']); unset($this->groups['col-1']['fields']['excerpt_character_limit']); unset($this->groups['col-1']['fields']['is_hide_title']); unset($this->groups['col-1']['fields']['is_hide_excerpt']); $this->groups['col-1']['fields']['title']['type'] = 'hidden'; $this->groups['col-1']['fields']['title']['label'] = ''; $this->groups['col-2']['fields']['transition_type'] = array('type' => 'select', 'id' => 'transition_type', 'name' => 'transition_type', 'default' => 'backSlide', 'classes' => array(), 'label' => __('Transition type', kopa_get_domain()), 'help' => NULL, 'options' => array('fade' => __('fade', kopa_get_domain()), 'fadeUp' => __('fadeUp', kopa_get_domain()), 'backSlide' => __('backSlide', kopa_get_domain()), 'goDown' => __('goDown', kopa_get_domain()))); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_fluid_slider'; $name = __('Kopa Slider Fluid', kopa_get_domain()); $widget_options = array('classname' => 'kopa_fluid_slider widget-big-carousel', 'description' => __("This is a full width slider.", kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); $this->groups['col-1']['fields']['title']['type'] = 'hidden'; $this->groups['col-1']['fields']['title']['label'] = ''; unset($this->groups['col-1']['fields']['excerpt_character_limit']); unset($this->groups['col-1']['fields']['is_hide_title']); unset($this->groups['col-1']['fields']['is_hide_excerpt']); unset($this->groups['col-1']['fields']['is_hide_created_date']); unset($this->groups['col-1']['fields']['is_hide_comments']); unset($this->groups['col-1']['fields']['is_hide_views']); unset($this->groups['col-1']['fields']['is_hide_likes']); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list_ajax_filter'; $name = __('Kopa Ajax Filter', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list_ajax_filter widget-latest-article', 'description' => __('Display posts with ajax filter: created-date, views, likes, comments', kopa_get_domain())); $control_options = array('width' => '600', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); $this->groups['col-1']['fields']['is_hide_created_date']['label'] = __('Disable filter by "Date"', kopa_get_domain()); $this->groups['col-1']['fields']['is_hide_comments']['label'] = __('Disable filter by "Comments"', kopa_get_domain()); $this->groups['col-1']['fields']['is_hide_views']['label'] = __('Disable filter by "Views"', kopa_get_domain()); $this->groups['col-1']['fields']['is_hide_likes']['label'] = __('Disable filter by "Likes"', kopa_get_domain()); $this->groups['col-1']['size'] = 5; $this->groups['col-2']['size'] = 7; unset($this->groups['col-1']['fields']['is_hide_readmore']); unset($this->groups['col-2']['fields']['orderby']); $this->groups['col-1']['fields']['is_hide_loadmore'] = array('type' => 'checkbox', 'id' => 'is_hide_loadmore', 'name' => 'is_hide_loadmore', 'default' => 'false', 'classes' => array(), 'label' => __('Disable load more', kopa_get_domain()), 'help' => NULL, 'is_append_label_before_control' => false); }
public function __construct($id_base = '', $name = '', $widget_options = array(), $control_options = array()) { $id_base = 'kopa_posts_list-most_reviews'; $name = __('Kopa Most Reviews', kopa_get_domain()); $widget_options = array('classname' => 'kopa_posts_list-most_reviews widget-most-review', 'description' => __('Display posts order by views count', kopa_get_domain())); $control_options = array('width' => '500', 'height' => 'auto'); parent::__construct($id_base, $name, $widget_options, $control_options); unset($this->groups['col-1']['fields']['excerpt_character_limit']); unset($this->groups['col-1']['fields']['posts_per_page']); unset($this->groups['col-1']['fields']['is_hide_title']); unset($this->groups['col-1']['fields']['is_hide_excerpt']); unset($this->groups['col-1']['fields']['is_hide_created_date']); unset($this->groups['col-1']['fields']['is_hide_comments']); unset($this->groups['col-1']['fields']['is_hide_likes']); unset($this->groups['col-1']['fields']['is_hide_views']); unset($this->groups['col-1']['fields']['is_hide_readmore']); unset($this->groups['col-2']['fields']['orderby']); }