• Resolved ravock

    (@ravock)


    Guys little help here:

    add_action( 'widgets_init', 'thinkup_widgets_init' );
    
    function test_shortcode(){
    return '
    [simple_tooltip content="<strong>Marca Superior de Dano de Ataque:</strong><br />
    Nível: <span style&quot;color: #00ff00&quot;>20</span><br />
    <span style=&quot;color: #ff0000;&quot;>+0.95</span> de Dano de Ataque"]
    
    <img src="http://leagueoflegendsbrasil.com/wp-content/uploads/2014/11/runaataque.png" alt="leagueoflegends" width="50" height="50" />
    
    [/simple_tooltip]';
    
    }
    
    add_shortcode('test', 'test_shortcode');

    When everything shows up greatly, but when the tooltip appears(Simpletooltip) for some reason the style color that I’ve changed is not working

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Span Style Color not working inside php echo!’ is closed to new replies.