Support

Account

Home Forums ACF PRO relationship outside of wp

Unread

relationship outside of wp

  • I have a newbie question – sorry.

    I have a custom post type and on each page I have a relationship form where I can select posts that are related. This has been populated and saved.

    I also have a modal window that pops up and has a post id passed to it, for example 123.

    Now I would like to query that id (123) and pull in and loop through the relationship field to show the title and a href of the relationship posts within the modal.

    The modal is a stand alone file so probably seen as outside of wordpress.

    Can someone point me in the right direction.

    Thanks.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.