aptf_settings; $username = $aptf_settings['twitter_username']; $display_name = isset($aptf_settings['twitter_account_name']) ? $aptf_settings['twitter_account_name'] : '' ; //$tweets = $this->get_tweets($username, $aptf_settings['total_feed']); $tweets = $this->get_twitter_tweets($username, $aptf_settings['total_feed']); //$this->print_array($tweets); //die(); if(isset($atts['template'])){ $aptf_settings['feed_template'] = $atts['template']; } if(isset($atts['follow_button'])){ if($atts['follow_button']=='true'){ $aptf_settings['display_follow_button'] = 1; } else{ $aptf_settings['display_follow_button'] = 0; } } if(isset($tweets->errors)){ $fallback_message = ($aptf_settings['fallback_message']=='')?__('Something went wrong with the twitter. Please check your credentials and twitter username in the twitter settings.','accesspress-twitter-feed'):$aptf_settings['fallback_message']; ?>
print_array($tweets); include('templates/default/'.$template); } ?>