Forums

Calling a Shortcode from a Custom Field (1 post)

  1. miguelesquirol
    Member
    Posted 1 year ago #

    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); ?>"]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags