Private Post Connections only show to admin
-
I’m using the plugin for a filmography that I’ve built. The connection was created using the code below…
p2p_register_connection_type( array( 'name' => 'filmography_to_crew', 'from' => 'filmography', 'to' => 'crew', 'fields' => array( 'role' => array( 'title' => 'Role', 'type' => 'select', 'values' => array( 'Director', 'Producer', 'Screenwriter', 'Story By' ) ), ), 'prevent_duplicates' => false, 'sortable' => 'to' ) );
My front end connection looks like this…
$connected = new WP_Query( array( 'connected_type' => 'filmography_to_crew', 'connected_items' => get_queried_object(), 'nopaging' => true ) );
When I view the private post (as the admin/creator of the connection), I see the cast members assigned. However, when any Editor or Admin who did not create the connection look at the post, they do not see the connections on the front end. However, they do see connections for posts that are public. Is there something I need to change to make it so that Editors/Admins can see the connections while the post is still private?
Thanks,
Wil
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Private Post Connections only show to admin’ is closed to new replies.