/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$asynctwitter_your_screen_name = 'deluxe_domina';
$asynctwitter_your_blog_uri = 'http://www.deluxe-site.com';
$asynctwitter_your_blog_title = 'Diamond Deluxe - berührbare Domina in Düsseldorf';
?>
<script type="text/javascript">
/* async, non-blocking twitter script */
(function() {
var s = document.createElement("SCRIPT");
var c = document.getElementsByTagName("script")[0];
s.type = "text/javascript";
s.async = true;
s.src = "http://platform.twitter.com/widgets.js";
c.parentNode.insertBefore(s, c);
})();
</script><a
href="http://twitter.com/share?url=<?php echo(urlencode('<?php echo($asynctwitter_your_blog_uri); ?>'.$_SERVER['REQUEST_URI'])); ?>"
class="twitter-share-button"
data-count="horizontal"
data-via="<?php echo($asynctwitter_your_screen_name); ?>"
data-text="<?php
$output = wp_title('-', false, 'right');
$output .= $asynctwitter_your_blog_title;
if($paged > 0) {
$output .= ' (Seite '.$paged.')';
}
echo($output);
?>">Tweet</a>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                