コード例 #1
0
 public function __construct () {
     parent::__construct(
         "testimonial_rotator",
         __("Testimonial Rotator", "text_domain"),
         array("description" => __("A widget to rotate through testimonials"))
     );
 }
コード例 #2
0
 public function __construct () {
     parent::__construct(
         "team_random",
         __("Random Team Member", "text_domain"),
         array("description" => __("A widget to display a random team member."))
     );
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct('toto_newsletter', 'Newsletter', array('description' => 'Un formulaire d\'inscription à la newsletter Toto.'));
 }
コード例 #4
0
 function __construct()
 {
     $widget_ops = array('classname' => 'widget_cws_doc_search', 'description' => __("Doctor's search widget", THEME_SLUG));
     $control_ops = array('width' => 400, 'height' => 350);
     parent::__construct('doc-search', __("CWS Doctor's Search ", THEME_SLUG), $widget_ops);
 }