Support

Account

Home Forums General Issues Pull Relationship field permalink Reply To: Pull Relationship field permalink

  • Sorry, I realised I must have posted that up in haste… here is the complete version with the permalink echo:

                            <?php
                            $selected = get_field('film_filmreview');
                            $selected = array_pop($selected); ?>
    
                            <?php echo $selected;
                            $permalink = the_permalink($selected->ID); ?>
    
                        </div>
                        <h1 style="word-break: break-word;"><?php echo $selected ?>
                            <?php $permalink = the_permalink($selected->ID); ?></h1>