title_field(), require( ITALYSTRAP_PLUGIN_PATH . 'config/breadcrumbs.php' ) ); /** * Configure widget array. * @var array */ $args = array( // Widget Backend label. 'label' => __( 'ItalyStrap Breadcrumbs', 'italystrap' ), // Widget Backend Description. 'description' => __( 'Add a Breadcrumbs ti widgetized area', 'italystrap' ), 'fields' => $fields, 'widget_options' => array( 'customize_selective_refresh' => true ), 'control_options' => array( 'width' => 340 ), ); /** * Create Widget */ $this->create_widget( $args ); } /** * Dispay the widget content * * @param array $args Display arguments including 'before_title', 'after_title', * 'before_widget', and 'after_widget'. * @param array $instance The settings for the particular instance of the widget. */ public function widget_render( $args, $instance ) { // echo "
"; // new \ItalyStrapBreadcrumbs(); // echo "
"; // $out = ''; // return $out; } } // class