[Plugin: Shortcodes Pro] Can´t get PHP code working
-
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
The topic ‘[Plugin: Shortcodes Pro] Can´t get PHP code working’ is closed to new replies.