Support » Plugin: BBCode Deluxe » Add bbCode: glow

Viewing 1 replies (of 1 total)
  • Thread Starter THWright


    Adding the following to the class-bbcode.php creates the glow shortcode.


    function shortcode_glow($atts=array(),$content=NULL){
    if(NULL===$content) return ”;
    $attribs = implode(”,$atts);
    $color=substr ($attribs, 1);
    $color = ‘#’.$color;
    return ‘<span style=”text-shadow: 0px 0px 7px ‘.$color.'”>’.$this->do_shortcode($content).'</span>’;

Viewing 1 replies (of 1 total)
  • The topic ‘Add bbCode: glow’ is closed to new replies.