steffonpixelwars

Forum Replies Created

list of topics you have created till now.

  • steffonpixelwars
    Participant

    Hello, yes, it is ! I’ve found this Sunday. I have modified in functions.php :
    function slide( $atts, $content = null )
    {
    extract( shortcode_atts( array( ‘caption’ => ”, ‘url’ => ”, ‘src’ => ”, ‘target’ => ‘‘), $atts ) );

    $caption_out = ”;

    if ( $caption != ” ) { $caption_out = ” . $caption . ”; }

    $url_out_begin = ”;
    $url_out_end = ”;

    if ( $url != ” )
    {
    $url_out_begin = ‘<a href="' . $url . '" target=”‘ .$target. ‘“>’;
    $url_out_end = ‘‘;
    }

    $slide = ” . $url_out_begin . ” . $caption_out . $url_out_end . ”;

    return $slide;
    }

    add_shortcode( ‘slide’, ‘slide’ );

    And then, the code in my first message is ok !

    steffonpixelwars
    Participant

    Hi,

    I found a solution.
    In fact, I work with Safari (Mac Os Lion Mountain).
    If I work with the plugin “AdBlock”, this problem appears. If I disable it, it does not appear.

    I do not know why but it works…

Viewing 2 posts - 1 through 2 (of 2 total)