Multisite version of WP
-
Hi!
Thanks for the great plug in, by the discussion I can see that it is something I really need for my site, but I have a problem using it on my network word press install (WP version: 3.1.2, PHP version: 5.2.14).#1. I have two custom post types ‘artist’ and ‘event’, I created relation between them and meta boxes appeared in the admin UI. But connection disappears after I update artist or event.
#2. I want to query related artists in the event admin part and add meta box where related artist’s title will become event’s custom field key and then I can have other information added there as custom field value.
For now, when I copy paste the display code:
`$connected = new WP_Query( array(
‘post_type’ => ‘artist’,
‘connected_to’ => get_queried_object_id()
) );echo ‘<ul>’;
while( $connected->have_posts() ) : $connected->the_post();
echo ‘<li>’;
the_title();
echo ‘</li>’;
endwhile;
echo ‘</ul>’;wp_reset_postdata();`
it shows ALL the artists. I assume it’s because of the issue #1, that the plugin doesn’t save the relations.
Do you have any ideas?
- The topic ‘Multisite version of WP’ is closed to new replies.