WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
Orderby number of connections? (2 posts)

  1. clarklab
    Member
    Posted 1 year ago #

    This might be a simple one, but I dug through the docs and couldn't find specifically what I needed. Is there a way to order a query by the number of connections? I'm using p2p to manage RSVPs for sessions at an event, and I'd like to order the events by the number of users connected.

    I saw info about ordering by post meta or by connection meta, but I wasn't sure how to tackle ordering by the number of users attached. Help?

    http://wordpress.org/extend/plugins/posts-to-posts/

  2. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    You'll need to fiddle with the raw SQL to get this working.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic