Create a new recent post widget
My widget was like this: public function __construct() { $widget_ops = array( ‘classname’ => ‘yggdrasil_widget_recent_entries’, ‘description’ => __( ‘Your site’s most recent Posts.’ ), ‘customize_selective_refresh’ => true, ); parent::__construct( ‘recent-posts’, __( ‘Recent Posts’ ), $widget_ops ); $this->alt_option_name=”yggdrasil_widget_recent_entries”; } Below works as a new widget without overriding the default wordpress recent posts public function __construct() { … Read more