/**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_recent_posts';
     $this->widget_description = __('Display recent blog posts.', 'marketify');
     $this->widget_id = 'marketify_widget_recent_posts';
     $this->widget_name = __('Marketify - Home: Recent Posts', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => 'Recent Posts', 'label' => __('Title:', 'marketify')), 'number' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 4, 'label' => __('Number to display:', 'marketify')), 'style' => array('type' => 'select', 'std' => 'classic', 'options' => array('classic' => __('Classic', 'marketify'), 'grid' => __('Grid', 'marketify')), 'label' => __('Display Style:', 'marketify')), 'description' => array('type' => 'textarea', 'std' => '', 'label' => __('Description:', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_download_archive_sorting';
     $this->widget_description = __('Display a way to sort the current product archives.', 'marketify');
     $this->widget_id = 'marketify_widget_download_archive_sorting';
     $this->widget_name = __('Marketify - Download Archive: Download Sorting', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => '', 'label' => __('Title:', 'marketify')));
     parent::__construct();
 }
예제 #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_slider';
     $this->widget_description = __('Display any slider that supports shortcodes.', 'marketify');
     $this->widget_id = 'marketify_widget_slider';
     $this->widget_name = __('Marketify - Home: Slider', 'marketify');
     $this->settings = array('shortcode' => array('type' => 'text', 'std' => '', 'label' => __('Slider Shortcode', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_taxonomy_stylized';
     $this->widget_description = __('Display a taxonomy in a styled way.', 'marketify');
     $this->widget_id = 'marketify_widget_taxonomy_stylized';
     $this->widget_name = __('Marketify - Home: Taxonomy', 'marketify');
     $this->settings = array('taxonomy' => array('type' => 'select', 'std' => 'category', 'label' => __('Taxonomy:', 'marketify'), 'options' => array('download_category' => __('Category', 'marketify'), 'download_tag' => __('Tag', 'marketify'))));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_download_review_details';
     $this->widget_description = __('Display average review information.', 'marketify');
     $this->widget_id = 'marketify_widget_download_review_details';
     $this->widget_name = __('Marketify - Download Single: Review Details ', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => 'Review Details', 'label' => __('Title:', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_download_share';
     $this->widget_description = __('Display sharing options for this product.', 'marketify');
     $this->widget_id = 'marketify_widget_download_share';
     $this->widget_name = __('Marketify - Download Single: Social Sharing', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => 'Sharing Options', 'label' => __('Title:', 'marketify')), 'description' => array('type' => 'text', 'std' => 'Like this item? Why not share it with your friends?', 'label' => __('Description:', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_downloads_taxonomy';
     $this->widget_description = __('Display a list of download taxonomies.', 'marketify');
     $this->widget_id = 'marketify_widget_downloads_taxonomy';
     $this->widget_name = __('Marketify - Download Single: Taxonomies', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => 'Categories', 'label' => __('Title:', 'marketify')), 'taxonomy' => array('type' => 'select', 'std' => 'category', 'label' => __('Taxonomy:', 'marketify'), 'options' => array('download_category' => __('Category', 'marketify'), 'download_tag' => __('Tag', 'marketify'))));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_curated_downloads';
     $this->widget_description = sprintf(__('Display curated %s in a grid.', 'marketify'), edd_get_label_plural());
     $this->widget_id = 'marketify_widget_curated_downloads';
     $this->widget_name = sprintf(__('Marketify - Home: Curated %s', 'marketify'), edd_get_label_plural());
     $this->settings = array('title' => array('type' => 'text', 'std' => edd_get_label_plural(), 'label' => __('Title:', 'marketify')), 'ids' => array('type' => 'text', 'std' => '', 'label' => sprintf(__('%s IDs:', 'marketify'), edd_get_label_singular())), 'columns' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => 4, 'std' => 4, 'label' => __('Number of columns:', 'marketify')), 'description' => array('type' => 'textarea', 'std' => '', 'label' => __('Description:', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_featured_popular';
     $this->widget_description = sprintf(__('Display featured and popular %s in sliding grid.', 'marketify'), edd_get_label_plural());
     $this->widget_id = 'marketify_widget_featured_popular';
     $this->widget_name = sprintf(__('Marketify - Home:  Featured & Popular %s', 'marketify'), edd_get_label_plural());
     $this->settings = array('featured-title' => array('type' => 'text', 'std' => 'Featured', 'label' => __('Featured Title:', 'marketify')), 'popular-title' => array('type' => 'text', 'std' => 'Popular', 'label' => __('Popular Title:', 'marketify')), 'number' => array('type' => 'number', 'step' => 1, 'min' => 1, 'max' => '', 'std' => 6, 'label' => __('Number to display:', 'marketify')), 'timeframe' => array('type' => 'select', 'std' => 'week', 'label' => __('Based on the current:', 'marketify'), 'options' => array('day' => __('Day', 'marketify'), 'week' => __('Week', 'marketify'), 'month' => __('Month', 'marketify'), 'year' => __('Year', 'marketify'))), 'scroll' => array('type' => 'checkbox', 'std' => 1, 'label' => __('Automatically scroll items', 'marketify')), 'speed' => array('type' => 'text', 'std' => 7000, 'label' => __('Slideshow Speed (ms)', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_price_table';
     $this->widget_description = __('Output the price table (based on the "Price Table" widget area)', 'marketify');
     $this->widget_id = 'marketify_widget_price_table';
     $this->widget_name = __('Marketify - Home: Price Table', 'marketify');
     $this->settings = array('title' => array('type' => 'text', 'std' => 'Pricing Options', 'label' => __('Title:', 'marketify')), 'description' => array('type' => 'textarea', 'std' => '', 'label' => __('Description:', 'marketify')), 'nothing' => array('type' => 'description', 'std' => __('Drag "Price Option" widgets to the "Price Table" widget area to populate this widget.', 'marketify')));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_slider_hero';
     $this->widget_description = __('Display "Hero" Soliloquy slider.', 'marketify');
     $this->widget_id = 'marketify_widget_slider_hero';
     $this->widget_name = __('Marketify - Home: Soliloquy Slider', 'marketify');
     $this->settings = array('slider' => array('type' => 'select', 'label' => __('Slider:', 'marketify'), 'options' => $this->slider_options(), 'std' => 0));
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->widget_cssclass = 'marketify_widget_price_option';
     $this->widget_description = __('Create a price option for the pricing table.', 'marketify');
     $this->widget_id = 'marketify_widget_price_option';
     $this->widget_name = __('Marketify - Home: Price Option', 'marketify');
     $this->settings = array('color' => array('type' => 'colorpicker', 'std' => '#515a63', 'label' => __('Background Color:', 'marketify')), 'description' => array('type' => 'textarea', 'rows' => 8, 'std' => '', 'label' => __('Description:', 'marketify')), 'nothing' => array('type' => 'description', 'std' => __('Use <code>h2</code> tags for large titles, and <code>h3</code> tags for subtitles. Unordered lists create a great look.', 'marketify')));
     $this->control_ops = array('width' => 300);
     parent::__construct();
 }