Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/twitter/buttons/html-tweet.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mike  >  PHP Socializer  >  templates/twitter/buttons/html-tweet.php  >  Download  
File: templates/twitter/buttons/html-tweet.php
Role: Auxiliary script
Content type: text/plain
Description: Sample output
Class: PHP Socializer
Embed social buttons and widgets in Web pages
Author: By
Last change:
Date: 1 year ago
Size: 521 bytes
 

Contents

Class file image Download
<a href="https://twitter.com/share"
    class="twitter-share-button"
    data-url="<?php echo $url?>"
    data-text="<?php echo $title?>"
    data-via="<?php echo $username?>"
    data-count="<?php echo $counter?>"
    <?php if($recommend): ?>
    data-related="<?php echo $recommend?>"
    <?php endif; ?>
    <?php if($hashtag): ?>
    data-hashtags="<?php echo $hashtag?>"
    <?php endif; ?>
    <?php if($size): ?>
    data-hashtags="<?php echo $size?>"
    <?php endif; ?>
    data-lang="en">Tweet</a>