Creating a widget with a number of custom fields
I assume that you want to add more custom fields in widget back end form, for this you just need to create a new field in form( $instance ); function. So the code will look like // Widget Backend public function form( $instance ) { if ( isset( $instance[ ‘title’ ] ) ) { $title … Read more