Support

Account

Home › Forums › General Issues › Next post in relationship field › Reply To: Next post in relationship field

  • For those that come searching for answers facing a similar issue as me. It ended up being as simple as adding the below line before getting the current index.

    
     $current_post_id = get_the_ID();