Revision: 63456
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 9, 2013 18:37 by Scoldy
Initial Code
<?php /* Plugin Name: Twitter Shower Plugin URI: http://www.scoldy.com Discription: Simple shortcode Version: 1.0 Author: Ronnie Author URI: http://www.scoldy.com */ add_shortcode('twitter', function($atts,$content) { if( !isset($atts['username'])) $atts['username'] = 'VeronicaDjeneva'; if( empty($content)) $content = 'Follow me on Twitter'; return '<a href="http://twitter.com/' .$atts['username'].'">' .$content.'</a>'; }); ?>
Initial URL
Initial Description
Follow me on twitter flexible user and message Add to post [twitter username='VeronicaDjeneva']Follow me Somebody[/twitter]
Initial Title
Follow me on twitter short code
Initial Tags
Initial Language
PHP