[Plugin: Posts 2 Posts] Looping the loop.. reversed?
-
I love this plugin Scribu (yesterday I found the need to buy you a beer and sent a donation through your site!)
It’d be awesome if you could help me out cracking this bit of functionality: I have two post types: offices and jobs. I want to display the offices that have jobs and list them accordingly:
<li class="drop-list"><span>Office Name 1</span> <ul class="accord-list"> <li><a href="link">Job Name 1</a></li> <li><a href="link">Job Name 2</a></li> </ul> </li>
The registration connection is:
p2p_register_connection_type( array( 'name' => 'jobs_to_offices', 'from' => 'jobs', 'to' => 'offices', 'reciprocal' => true, 'cardinality' => 'many-to-many', 'title' => 'Related Jobs', )
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: Posts 2 Posts] Looping the loop.. reversed?’ is closed to new replies.