/home/altere25/rockymountainlax.com/wp-content/plugins/twitter-tweets
Edit: /home/altere25/rockymountainlax.com/wp-content/plugins/twitter-tweets/twitter_tweets_widgets.php (9849B)
esc_html__('Display latest tweets from your Twitter account', 'twitter-tweets'))
);
}
/*** Front-end display of widget. ***/
public function widget($args, $instance)
{
// Outputs the content of the widget
extract($args); // Make before_widget, etc available.
if( isset($instance['title'])) {
$title = apply_filters('title', $instance['title']);
} else {
$title = apply_filters('title', 'Tweets');
}
echo wp_kses_post($before_widget);
if (!empty($title)) {
echo wp_kses_post($before_title . $title . $after_title);
}
if( isset($instance['TwitterUserName'])) {
$TwitterUserName = $instance['TwitterUserName'];
} else {
$TwitterUserName = 'weblizar';
}
if( isset($instance['Theme'])) {
$Theme = $instance['Theme'];
} else {
$Theme = 'light';
}
if( isset($instance['Height'])) {
$Height = $instance['Height'];
} else {
$Height = '450';
}
if( isset($instance['Width'])) {
$Width = $instance['Width'];
} else {
$Width = '450';
}
if( isset($instance['ExcludeReplies'])) {
$ExcludeReplies = $instance['ExcludeReplies'];
} else {
$ExcludeReplies = 'yes';
}
if( isset($instance['AutoExpandPhotos'])) {
$AutoExpandPhotos = $instance['AutoExpandPhotos'];
} else {
$AutoExpandPhotos = 'yes';
}
if( isset($instance['TwitterWidgetId'])) {
$TwitterWidgetId = $instance['TwitterWidgetId'];
} else {
$TwitterWidgetId = '';
}
if( isset($instance['tw_language'])) {
$tw_language = $instance['tw_language'];
} else {
$tw_language = '';
}
?>