Has someone ever tried to extend calss WP_Widget, then extend it again ?
Having to related widgets, I tried to create the first extending WP_Widget, :
class FirstWidget extends WP_Widget {
public function __construct(){
parent::__construct(
etc
and then extending the First to create the second one :
class SecondWidget extends FirstWidget {
public function __construct(){
parent::__construct(
this works well, except that the second widget isn't available in the drag and drop widgets area. I can explicitly use it in my code :
the_widget('SecondWidget', array('title'=> "New title")
and it shows well, but I can't drag'n'drop it.
Someone knows why ?