Revision: 39097
Updated Code
at January 13, 2011 05:29 by DiamondDeluxe
Updated Code
<?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 = preg_replace('/–/ui', '-', $output); $output .= $asynctwitter_your_blog_title; if($paged > 0) { $output .= ' (Seite '.$paged.')'; } $output = mb_substr($output, 0, 100, 'UTF-8').'...'; echo($output); ?>">Tweet</a>
Revision: 39096
Updated Code
at January 13, 2011 05:28 by DiamondDeluxe
Updated Code
<?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 = preg_replace('/–/ui', '-', $output); $output .= $asynctwitter_your_blog_title; if($paged > 0) { $output .= ' (Seite '.$paged.')'; } $output = mb_substr($output, 0, 100, 'UTF-8').'...'; echo($output); ?>">Tweet</a>
Revision: 39095
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 13, 2011 04:03 by DiamondDeluxe
Initial Code
<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('http://heldenblog.net'.$_SERVER['REQUEST_URI'])); ?>" class="twitter-share-button" data-count="horizontal" data-via="Christhulhu" data-text="<?php $output = wp_title('-', false, 'right'); $output = preg_replace('/–/ui', '-', $output); $output .= 'HeldenBlog'; if($paged > 0) { $output .= ' (Seite '.$paged.')'; } $output = mb_substr($output, 0, 100, 'UTF-8').'...'; echo($output); ?>">Tweet</a>
Initial URL
Initial Description
Initial Title
Asynchroner Twitter-Button für Wordpress Blogs
Initial Tags
wordpress, button, twitter
Initial Language
PHP