WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Pro
Can´t get PHP code working (1 post)

  1. alpinfieber
    Member
    Posted 1 year ago #

    Hi,

    I want to add a shortcode with this php function. I tried a lot but none of my tries did what it should do.
    I want to replace this code with a button in tiny mce:

    <div class="single-video">
    <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
    </div>

    The main problem seems to be the echo in the function. The result of the echo is a embed code for videos which are responsive. They automatically resize to the optimal width.

    Can someboy help me please?

    Thanks in Advance, Chris

    http://wordpress.org/extend/plugins/shortcodes-pro/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic