function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Categories 4 Columns', 'justwrite'); $this->widget_id = 'four-columns-categories'; /* Settings */ $widget_ops = array('classname' => 'sc-small', 'description' => 'Adds a row displaying posts from categories (four columns)'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'category_1' => '', 'category_2' => '', 'category_3' => '', 'category_4' => '', 'offset' => 0, 'show_more' => true, 'show_rss' => true, 'show_date' => true, 'show_coms' => true, 'show_auth' => true, 'posts_nr' => 3, 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Masonry #1', 'justwrite'); $this->widget_id = 'masonry-small'; /* Settings */ $widget_ops = array('classname' => 'sm-small-masonary', 'description' => 'This is used to display your posts using Masonry'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'typeselect' => 'featured', 'category' => '', 'posts_nr' => 3, 'offset' => 0, 'show_date' => true, 'show_auth' => true, 'show_cat' => true, 'show_com' => true, 'show_excerpt' => false, 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Slider #1', 'justwrite'); $this->widget_id = 'featured-posts-slider'; /* Settings */ $widget_ops = array('classname' => 'ss-slider', 'description' => 'This widget is used to display your featured posts in a jQuery slider.'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'typeselect' => 'featured', 'category' => '', 'posts_nr' => 3, 'offset' => 0, 'autoplay' => false, 'delay' => '5000', 'show_date' => true, 'show_cat' => true, 'show_com' => true, 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_bot' => false, 'css_p_top' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Popular Posts', 'justwrite'); $this->widget_id = 'popular-posts-big'; /* Settings */ $widget_ops = array('classname' => 'sp-popular', 'description' => 'This widget is used to display popular posts in a podium style ranking.'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'show_pos' => true, 'show_date' => true, 'show_cat' => false, 'show_com' => true, 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Archives', 'justwrite'); $this->widget_id = 'extended-archives'; /* Settings */ $widget_ops = array('classname' => 'sa-archives', 'description' => 'This is used to display monthly archives by year.'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false, 'css_p_bot' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Advertising', 'justwrite'); $this->widget_id = 'mainad'; /* Settings */ $widget_ops = array('classname' => 'sa-mainad', 'description' => 'This is used to display an ad, any size, centered'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('ad_code' => '', 'css_no_mt' => true, 'css_no_mb' => true, 'css_no_bg' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false, 'css_p_bot' => false); }
function __construct() { /* Variables */ $this->widget_title = __('AC SEC: Social Profiles', 'justwrite'); $this->widget_id = 'social-profiles'; /* Settings */ $widget_ops = array('classname' => 'sp-social', 'description' => 'This is used to display links to your social profiles.'); /* Control settings */ $control_ops = array('width' => NULL, 'height' => NULL, 'id_base' => 'ac-widget-' . $this->widget_id); /* Create the widget */ parent::__construct('ac-widget-' . $this->widget_id, $this->widget_title, $widget_ops, $control_ops); /* Set some widget defaults */ $this->defaults = array('title' => '', 'twitter' => '', 'twitter_anc' => '', 'facebook' => '', 'facebook_anc' => '', 'google-plus' => '', 'google-plus_anc' => '', 'rss' => '', 'rss_anc' => '', 'youtube' => '', 'youtube_anc' => '', 'instagram' => '', 'instagram_anc' => '', 'flickr' => '', 'flickr_anc' => '', 'tumblr' => '', 'tumblr_anc' => '', 'vk' => '', 'vk_anc' => '', 'pinterest' => '', 'pinterest_anc' => '', 'linkedin' => '', 'linkedin_anc' => '', 'dribbble' => '', 'dribbble_anc' => '', 'github' => '', 'github_anc' => '', 'css_no_mt' => true, 'css_no_mb' => true, 'css_b_top' => false, 'css_b_bot' => false, 'css_p_top' => false, 'css_p_bot' => false); /* Profiles */ $this->profiles = array('twitter' => array('label' => __('Twitter URI', 'justwrite'), 'anchor' => 'twitter_anc'), 'facebook' => array('label' => __('Facebook URI', 'justwrite'), 'anchor' => 'facebook_anc'), 'google-plus' => array('label' => __('Google Plus URI', 'justwrite'), 'anchor' => 'google-plus_anc'), 'rss' => array('label' => __('RSS URI', 'justwrite'), 'anchor' => 'rss_anc'), 'youtube' => array('label' => __('Youtube URI', 'justwrite'), 'anchor' => 'youtube_anc'), 'instagram' => array('label' => __('Instagram URI', 'justwrite'), 'anchor' => 'instagram_anc'), 'flickr' => array('label' => __('Flickr URI', 'justwrite'), 'anchor' => 'flickr_anc'), 'tumblr' => array('label' => __('Tumblr URI', 'justwrite'), 'anchor' => 'tumblr_anc'), 'vk' => array('label' => __('VK URI', 'justwrite'), 'anchor' => 'vk_anc'), 'pinterest' => array('label' => __('Pinterest URI', 'justwrite'), 'anchor' => 'pinterest_anc'), 'linkedin' => array('label' => __('LinkedIn URI', 'justwrite'), 'anchor' => 'linkedin_anc'), 'dribbble' => array('label' => __('Dribbble URI', 'justwrite'), 'anchor' => 'dribbble_anc'), 'github' => array('label' => __('GitHub URI', 'justwrite'), 'anchor' => 'github_anc')); }