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:
<?php echo get_post_meta( $post->ID, ‘video_embed’, true ); ?>
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.