Open xhemals opened 5 months ago
This change to the simple-social-icons.php file will only load the CSS if the widget is uploaded. This was mentioned in issue #99.
The fix is to add an if statement: if ( is_active_widget( false, false, $this->id_base, true ) ) for: wp_enqueue_style()
if ( is_active_widget( false, false, $this->id_base, true ) )
wp_enqueue_style()
This change to the simple-social-icons.php file will only load the CSS if the widget is uploaded. This was mentioned in issue #99.
The fix is to add an if statement:
if ( is_active_widget( false, false, $this->id_base, true ) )
for:wp_enqueue_style()