[Plugin: Posts 2 Posts] Nested loop probem
-
Hey,
I’m trying to create a page that displays a list of posts by name, and then, under each name, a list of connected posts. I can get it to work with the following code but I’d like to also display some of the custom fields in the connected posts. Currently, I can only access a list of links using
p2p_list_posts( $post->connected );
.Here’s my code that is working. Within each office, I list the candidates. Each candidate post has custom fields I’d like to access and display.
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
How do I get access to the custom fields inside my candidate records?
Thanks,
Paul
- The topic ‘[Plugin: Posts 2 Posts] Nested loop probem’ is closed to new replies.