Plugin Directory

Changeset 1244931


Ignore:
Timestamp:
09/14/2015 09:06:15 AM (11 years ago)
Author:
11bits
Message:

Update readme txt

Location:
ttt-social
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ttt-social/tags/0.8.2/readme.txt

    r1243438 r1244931  
    1515A plugin built mainly for theme developers, make it easy the importation and customization of social media timelines.
    1616
     17## Widgets
     18
     19The plugin adds new custom widgets:
     20
     21**TTT Social Facebook Widget**
     22
     23- Page Name. Your page name is: http://facebook.com/MYPAGENAME you URL username is MYPAGENAME.
     24- Page ID. If you don´t know your ID go to: http://findmyfacebookid.com/
     25- Limit. Is the amount of entries you want to show in your widget.
     26
     27**TTT Social Twitter Widget**
     28
     29- Count. How many tweets you want to show.
     30- User. Even you had connected with your twitter account you can also show other user timeline just writeing his username.
     31- Query. Also you can filter the tweets by: hashtag, username or text.
     32
     33You can Add as many widgets you want :)
     34
     35
    1736## 33themes Template System
    1837
     
    24432. 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
    25443. The `template.php` file will replace the plugin template and is the same template used for the social network widget.
     45
     46
     47### Templates Data
     48
     49#### Facebook
     50`
     51<?php if ( $netsocial->feed ): ?>
     52    <?php foreach ($netsocial->feed as $fb_feed_item) : ?>
     53        HERE HTML & FB FIELDS
     54    <?php endforeach; ?>
     55<?php endif; ?>
     56`
     57FB FIELDS:
     58* `<?php echo $fb_page; ?>` -> FB Page link
     59* `<?php echo $netsocial->name ?>` -> FB Page name
     60* `<?php echo $fb_feed_item->get_permalink(); ?>` -> FB Page Item link
     61* `<?php echo $fb_feed_item->get_date('j F Y @ g:i a'); ?>` -> FB Page Item date
     62* `<?php echo substr($fb_feed_item->get_description(), 0, 165); ?>` -> FB Page Item content. Text limit from 0 to 165 characters.
     63
     64#### Twitter
     65`
     66<?php foreach( $netsocial->feed as $twitt ): ?>
     67    HERE HTML & TWITTER FIELDS
     68<?php endforeach; ?>
     69`
     70TW FIELDS:
     71* `<?php echo $twitter ?>` -> TW user link
     72* `<?php echo $twitt->user->name; ?>` -> TW username
     73* `<?php echo $twitt->user->profile_image_url; ?>` -> TW user avatar
     74* `<?php echo $twitt->user->screen_name; ?>` -> TW user screen name. Is not the same as username
     75* `<?php echo $twitt->id_str; ?>` -> Tweet code
     76* `<?php echo $twitt->text; ?>`-> Tweet text
     77* `<?php echo $twitt->created_at; ?>` -> Tweet date
     78* `<?php echo $twitt->retweet; ?>` -> Retweet link
     79
     80How to write a tweet url?
     81`https://twitter.com/<?php echo $twitt->user->screen_name; ?>/status/<?php echo $twitt->id_str; ?>`
    2682
    2783
     
    83139
    84140It´s in our roadmap for future updates.
    85 
    86 
  • ttt-social/trunk/readme.txt

    r1243437 r1244931  
    1515A plugin built mainly for theme developers, make it easy the importation and customization of social media timelines.
    1616
     17## Widgets
     18
     19The plugin adds new custom widgets:
     20
     21**TTT Social Facebook Widget**
     22
     23- Page Name. Your page name is: http://facebook.com/MYPAGENAME you URL username is MYPAGENAME.
     24- Page ID. If you don´t know your ID go to: http://findmyfacebookid.com/
     25- Limit. Is the amount of entries you want to show in your widget.
     26
     27**TTT Social Twitter Widget**
     28
     29- Count. How many tweets you want to show.
     30- User. Even you had connected with your twitter account you can also show other user timeline just writeing his username.
     31- Query. Also you can filter the tweets by: hashtag, username or text.
     32
     33You can Add as many widgets you want :)
     34
     35
    1736## 33themes Template System
    1837
     
    24432. 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
    25443. The `template.php` file will replace the plugin template and is the same template used for the social network widget.
     45
     46
     47### Templates Data
     48
     49#### Facebook
     50`
     51<?php if ( $netsocial->feed ): ?>
     52    <?php foreach ($netsocial->feed as $fb_feed_item) : ?>
     53        HERE HTML & FB FIELDS
     54    <?php endforeach; ?>
     55<?php endif; ?>
     56`
     57FB FIELDS:
     58* `<?php echo $fb_page; ?>` -> FB Page link
     59* `<?php echo $netsocial->name ?>` -> FB Page name
     60* `<?php echo $fb_feed_item->get_permalink(); ?>` -> FB Page Item link
     61* `<?php echo $fb_feed_item->get_date('j F Y @ g:i a'); ?>` -> FB Page Item date
     62* `<?php echo substr($fb_feed_item->get_description(), 0, 165); ?>` -> FB Page Item content. Text limit from 0 to 165 characters.
     63
     64#### Twitter
     65`
     66<?php foreach( $netsocial->feed as $twitt ): ?>
     67    HERE HTML & TWITTER FIELDS
     68<?php endforeach; ?>
     69`
     70TW FIELDS:
     71* `<?php echo $twitter ?>` -> TW user link
     72* `<?php echo $twitt->user->name; ?>` -> TW username
     73* `<?php echo $twitt->user->profile_image_url; ?>` -> TW user avatar
     74* `<?php echo $twitt->user->screen_name; ?>` -> TW user screen name. Is not the same as username
     75* `<?php echo $twitt->id_str; ?>` -> Tweet code
     76* `<?php echo $twitt->text; ?>`-> Tweet text
     77* `<?php echo $twitt->created_at; ?>` -> Tweet date
     78* `<?php echo $twitt->retweet; ?>` -> Retweet link
     79
     80How to write a tweet url?
     81`https://twitter.com/<?php echo $twitt->user->screen_name; ?>/status/<?php echo $twitt->id_str; ?>`
    2682
    2783
     
    83139
    84140It´s in our roadmap for future updates.
    85 
    86 
Note: See TracChangeset for help on using the changeset viewer.