Calling a Shortcode from a Custom Field
-
I’m trying to call a shortcode from a custom field, but my PHP coding is not good at all and this code keeps giving me problems because I have two PHP codes nested…
Help please
<?php do_shortcode(‘[flickr-gallery mode=”photoset” photoset=”<?php $key=”mykey”; echo get_post_meta($post->ID, set, true); ?>”]’); ?>
- The topic ‘Calling a Shortcode from a Custom Field’ is closed to new replies.