• Resolved gillespieza

    (@gillespieza)


    Is there a way to add the post2post-connection information to a custom column on the Manage Posts screen? I’m currently using the “manage_edit-columns” filter and “manage_posts_custom_column” action successfully to customise my columns with “regular” meta data, but I wasn’t sure if that method would be appropriate for this data?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author scribu

    (@scribu)

    You can use the same method for adding any column.

    Just keep in mind that connection info is stored on the connection itself, not on a particular post, so I’m not sure what exactly you would display in such a column.

    Thread Starter gillespieza

    (@gillespieza)

    Well, I just want to be able to see in the Manage Posts screen if a post is linked to another post. I imagined it displaying, for example, just the connected post title in a column.

    Not all my posts have connections, and the reciprocal connection is not being created, so it would be nice to have a convenient place to see whether I have to go in to a post to manually create the reciprocal connection.

    Plugin Author scribu

    (@scribu)

    Gotcha.

    Note that if you have a connection A->B, it’s not necessary to create another connection B->A. Just set 'reciprocal' => true when defining the connection type.

    Thread Starter gillespieza

    (@gillespieza)

    Thanks w.r.t 'reciprocal' => true — I thought I had that enabled a few versions ago, dunno how I managed to remove that bit… That helps a lot, thanks…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Posts 2 Posts] Add Connection info to custom column’ is closed to new replies.