spatreats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/wonderworksheali/public_html/wp-includes/functions.php on line 6131Mailchimp widget settings go here.
'; } public function update($new_instance, $old_instance){ return $new_instance; } public function widget($args, $instance){ echo $args['before_widget'] . 'Mailchimp signup form goes here.
' . $args['after_widget']; } } } //============================== // MY_Flickr Widget //============================== if (!class_exists('MY_Flickr')) { class MY_Flickr extends WP_Widget { public function __construct() { $widget_options = array( 'classname' => 'flickr-widget', 'description' => 'Show Flickr Photos' ); parent::__construct( 'my_flickr', IAMD_THEME_NAME . __(' Flickr Widget','spatreats'), $widget_options ); } public function form($instance){ echo 'Flickr widget settings go here.
'; } public function update($new_instance, $old_instance){ return $new_instance; } public function widget($args, $instance){ echo $args['before_widget'] . 'Flickr photos display here.
' . $args['after_widget']; } } } //============================== // MY_Custom_Post Widget //============================== if (!class_exists('MY_Custom_Post')) { class MY_Custom_Post extends WP_Widget { public function __construct() { $widget_options = array( 'classname' => 'custom_post_widget', 'description' => 'Display custom posts' ); parent::__construct( 'my_custom_post', IAMD_THEME_NAME . __(' Custom Post Widget','spatreats'), $widget_options ); } public function form($instance){ echo 'Custom Post widget settings go here.
'; } public function update($new_instance, $old_instance){ return $new_instance; } public function widget($args, $instance){ echo $args['before_widget'] . 'Custom post output here.
' . $args['after_widget']; } } }//============================== // MY_Social_Links Widget //============================== if (!class_exists('MY_Social_Links')) { class MY_Social_Links extends WP_Widget { public function __construct() { $widget_options = array( 'classname' => 'social_links_widget', 'description' => 'Display social links' ); parent::__construct( 'my_social_links', IAMD_THEME_NAME . __(' Social Links Widget','spatreats'), $widget_options ); } public function form($instance){ echo 'Social Links widget settings go here.
'; } public function update($new_instance, $old_instance){ return $new_instance; } public function widget($args, $instance){ echo $args['before_widget'] . 'Social links output here.
' . $args['after_widget']; } } }