Take the 2-minute tour ×

Is there a way to control the order in which connections are displayed ?

I've got a Articles => Books connection so that in each article I can quote a number of books. I want to display the quoted books in the footnotes of the article.

Currently, if I create say three books connections and then display them at the bottom of my article, I will get them in reverse order. Can I change that ?

share|improve this question
add comment

3 Answers

Yes, there is a way to do this, since version 0.8:


share|improve this answer
add comment

I know this question is old, but I just spent an hour researching this problem as well.

Within the main post that has multiple things related to it, in the sidebar (where connections are created), you can drag and drop to reorder the connected posts! That is how they will appear when called. Very intuitive once you realize it's there, but not immediately obvious. Good luck.

share|improve this answer
add comment

you could pass Order & Orderby Parameters

your code would be something like,

while ( have_posts() ) : the_post();
    $connected_writers = get_posts( array(
        'post_type' => 'writer',
        'nopaging' => true,
        'connected_to' => $post->ID,
        'suppress_filters' => false,
        'orderby' => 'title',
        'order' => 'DESC'
    ) );

    foreach ( $connected_writers as $writer ) {
        echo $writer->post_title;
share|improve this answer
Doesn't seem to work. Whether I include 'order' => 'DESC' or not, the display order remains the same : –  Mike Jun 19 '11 at 12:18
Anybody ? There must be a way to do this –  Mike Jun 25 '11 at 11:35
add comment

Your Answer


