TTT Social

Create your custom html layout for Facebook page, Twitter, Instagram, Pinterest and Vimeo feeds.

Author:33 Themes GmbH (profile at wordpress.org)
WordPress version required:3.4
WordPress version tested:4.3.1
Plugin version:0.8.3
Added to WordPress repository:08-09-2015
Last updated:16-09-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.33themes.com
Total downloads:1 096
Active installs:10+
plugin download
Click to start download

A plugin built mainly for theme developers, make it easy the importation and customization of social media timelines.

Widgets

The plugin adds new custom widgets:

TTT Social Facebook Widget

TTT Social Twitter Widget

  • Count. How many tweets you want to show.
  • User. Even you had connected with your twitter account you can also show other user timeline just writeing his username.
  • Query. Also you can filter the tweets by: hashtag, username or text.

You can Add as many widgets you want 🙂

33themes Template System

This plugin use our widgets template system, it makes easy to customize the look & feel of the social feeds.

Create a custom template:

  1. Create a new folder with the name ttt-social inside your theme
  2. Copy the template.php file from wp-content/plugins/ttt-social/template/front/SOCIAL NETWORK/template.php to a new folder in your theme wp-content/themes/YOUR-THEME/ttt-social/SOCIAL NETWORK/template.php. i.e: YOUR_THEME/ttt-social/twitter/template.php
  3. The template.php file will replace the plugin template and is the same template used for the social network widget.

Templates Data

Facebook

<?php if ( $netsocial->feed ): ?>
    <?php foreach ($netsocial->feed as $fb_feed_item) : ?>
        HERE HTML & FB FIELDS
    <?php endforeach; ?>
<?php endif; ?>

FB FIELDS:

  • <?php echo $fb_page; ?> -> FB Page link
  • <?php echo $netsocial->name ?> -> FB Page name
  • <?php echo $fb_feed_item->get_permalink(); ?> -> FB Page Item link
  • <?php echo $fb_feed_item->get_date('j F Y @ g:i a'); ?> -> FB Page Item date
  • <?php echo substr($fb_feed_item->get_description(), 0, 165); ?> -> FB Page Item content. Text limit from 0 to 165 characters.

Twitter

<?php foreach( $netsocial->feed as $twitt ): ?>
    HERE HTML & TWITTER FIELDS
<?php endforeach; ?>

TW FIELDS:

  • <?php echo $twitter ?> -> TW user link
  • <?php echo $twitt->user->name; ?> -> TW username
  • <?php echo $twitt->user->profile_image_url; ?> -> TW user avatar
  • <?php echo $twitt->user->screen_name; ?> -> TW user screen name. Is not the same as username
  • <?php echo $twitt->id_str; ?> -> Tweet code
  • <?php echo $twitt->text; ?>-> Tweet text
  • <?php echo $twitt->created_at; ?> -> Tweet date
  • <?php echo $twitt->retweet; ?> -> Retweet link

How to write a tweet url?

https://twitter.com/<?php echo $twitt->user->screen_name; ?>/status/<?php echo $twitt->id_str; ?>