function __construct() { $widget_ops = array('classname' => 'ct-widget-media', 'description' => __('Display posts list with icon of post-format.', ct_get_domain())); $control_ops = array('width' => 'auto', 'height' => 'auto'); parent::__construct('ct-widget-post-list-media', __('CT Posts List With Format Icon', ct_get_domain()), $widget_ops, $control_ops); }
function __construct() { $widget_ops = array('classname' => 'origamiez-widget-posts-small-thumbnail', 'description' => __('Display posts list with small thumbnail.', 'origamiez')); $control_ops = array('width' => 'auto', 'height' => 'auto'); parent::__construct('origamiez-widget-post-list-small', __('Origamiez Posts List Small', 'origamiez'), $widget_ops, $control_ops); }
protected function get_default() { $default = parent::get_default(); $default['cols_per_row'] = 3; $default['excerpt_words_limit'] = 0; $default['is_show_date'] = 1; $default['is_show_comments'] = 1; return $default; }