Is there any way to get the ID of a page that a repeater field value was on? I am outputting a range of repeater values onto a page, which all come from various pages, but I want them to be clickable to go to the page they came from.
Within the while ( have_rows('') ) {
loop I have $link = get_the_ID();
then in the foreach, echo’ing each value from the repeater I’ve put <a href="<?php echo get_permalink($link); ?>"><?php echo $artist; ?></a>
but still returns the same ID for all…
Thanks,
R
Not sure how to delete a post, but please do.