Forums

Calling a Shortcode from a Custom Field (1 post)

  1. miguelesquirol
    Member
    Posted 4 months 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); ?>"]'); ?>

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by miguelesquirol
  • This topic is not resolved
  • WordPress version: 3.3.1

Tags