• Hello,

    Im trying to display a custom field value as a shortcode. How is this possible?
    this is my code:

    <?php echo do_shortcode('['.the_field('field_name').']');?>

    Thanks in advance…

The topic ‘setting custom field as Shortcode’ is closed to new replies.