Advertisement
Guest User

Shortcode Succebox

a guest
Aug 13th, 2012
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None
  1. function succesbox($atts, $content = null) {
  2.    extract(shortcode_atts(array('link' => '#'), $atts));
  3.    return '<div class="succesbox"><span>' . do_shortcode($content) . '</span></div>';
  4. }
  5. add_shortcode('succesbox', 'succesbox');
Advertisement
RAW Paste Data Copied
Advertisement