Support

Account

Home Forums ACF PRO passing previous page content to Thank you page

Unread

passing previous page content to Thank you page

  • Hi All,

    i have a form where the <?php echo the_field(‘campaign_url’); ?> is storing a download link and i want to pass this to my Thank you page, i have this code below but it seems its not showing the link

    <?php if( get_field(‘campaign_url’, $post->ID) ): ?>
    <?php the_field(‘campaign_url’, $post->ID); ?> <!–// get content from page Y –>
    <?php endif; ?>

    can someone please help.

    Amanda

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.