• Resolved pouletmarin

    (@pouletmarin)


    Hello, I know how to display media when we use a shortcode but i don’t now how to display media when I use the widget of wordpress.

    Where I can specify show_media = 1 / true ?

    here is my code :
    <?php
    if ( is_active_sidebar( ‘rotating_twitter’ ) ) {
    dynamic_sidebar( ‘rotating_twitter’ );
    }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Martin Tod

    (@mpntod)

    Hi there,

    There isn’t currently an option.

    I’ll look at adding it with the next revision.

    If you’re coding into the template anyway, one option would be to use the do_shortcode() function.

    <?php echo do_shortcode( '[your shortcode]' ); ?>
    

    Martin

    Thread Starter pouletmarin

    (@pouletmarin)

    Hello Martin, yeah i finaly used shortcode to show media. Thanks for your answer!

    It’s resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show media widget’ is closed to new replies.