'pepe_cat_post', 'description' => __( 'A list categories.','pepe-lite' ), 'customize_selective_refresh' => true, ); parent::__construct( 'categories', __( 'DF: Pepe Categories','pepe-lite' ), $widget_ops ); } public function widget( $args, $instance ) { static $first_dropdown = true; $title = ! empty( $instance['title'] ) ? $instance['title'] : __( 'Categories','pepe-lite' ); $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); $c = ! empty( $instance['count'] ) ? '1' : '0'; $h = ! empty( $instance['hierarchical'] ) ? '1' : '0'; $d = ! empty( $instance['dropdown'] ) ? '1' : '0'; echo $args['before_widget']; if ( $title ) {?>
/>
/>
/>