Exemplo n.º 1
0
 /**
  * Widget Constuctor
  */
 function __construct()
 {
     parent::__construct('wpgeo_recent_locations_widget', __('WP Geo Recent Locations', 'wp-geo'), array('classname' => 'wpgeo_recent_locations_widget', 'description' => __('Displays markers for recent posts', 'wp-geo')));
     add_action('wpgeo_widget_form_fields', array($this, 'widget_form_fields_number'), 10, 2);
     add_action('wpgeo_widget_form_fields', array($this, 'widget_form_fields_post_types'), 50, 2);
 }
Exemplo n.º 2
0
 /**
  * Widget Constuctor
  */
 function __construct()
 {
     parent::__construct('wpgeo_contextual_map_widget', __('WP Geo Contextual Map', 'wp-geo'), array('classname' => 'wpgeo_contextual_map_widget', 'description' => __('Displays markers from the current page', 'wp-geo')));
 }
Exemplo n.º 3
0
 /**
  * Constuctor
  */
 function __construct()
 {
     parent::__construct('wpgeo_category_map_widget', __('WP Geo Category Map', 'wp-geo'), array('classname' => 'wpgeo_category_map_widget', 'description' => __('Displays markers from the current category', 'wp-geo')));
 }