Title: [Plugin: Twitter Tools] feature suggestions
Last modified: August 19, 2016

---

# [Plugin: Twitter Tools] feature suggestions

 *  [paul3eb](https://wordpress.org/support/users/paul3eb/)
 * (@paul3eb)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-feature-suggestions/)
 * a quick addition that would help style things:
 * add a div and class that wraps the main twitter text and reply. i’ve done this
   in the aktt_tweet_display() function. i’d use the filter but it doesn’t give 
   me control of the text and such so i can’t display the individual parts separately.
 * you can see what i mean here: [http://rrgcc.org](http://rrgcc.org) (under the“
   twitter notes”). the center text and “in reply to” is styled one way and the 
   time display is styles another way.
 * if there’s a way to do it with the filter, i’d be happy to do that but i couldn’t
   see a way to accomplish it.
 * thanks.
 * code is below:
 *     ```
       function aktt_tweet_display($tweet, $time = 'relative') {
       	global $aktt;
   
       	$middle = aktt_make_clickable(wp_specialchars($tweet->tw_text));
       	$output = '<div class="aktt_tweet_text">' . $middle;
       	if (!empty($tweet->tw_reply_username)) {
       		$output .= 	' <a href="'.aktt_status_url($tweet->tw_reply_username, $tweet->tw_reply_tweet).'" class="aktt_tweet_reply">'.sprintf(__('in reply to %s', 'twitter-tools'), $tweet->tw_reply_username).'</a>';
       	}
       	switch ($time) {
       		case 'relative':
       			$time_display = aktt_relativeTime($tweet->tw_created_at, 3);
       			break;
       		case 'absolute':
       			$time_display = '#';
       			break;
       	}
       	$output .= '</div>';
       	$output .= ' <a href="'.aktt_status_url($aktt->twitter_username, $tweet->tw_id).'" class="aktt_tweet_time">'.$time_display.'</a>';
       	$output = apply_filters('aktt_tweet_display', $output, $tweet); // allows you to alter the tweet display output
       	return $output;
       }
       ```
   

The topic ‘[Plugin: Twitter Tools] feature suggestions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitter-tools_a9c9d7.svg)
 * [Tools for Twitter](https://wordpress.org/plugins/twitter-tools/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-tools/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-tools/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [paul3eb](https://wordpress.org/support/users/paul3eb/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-feature-suggestions/)
 * Status: not resolved