When it comes to creating many-to-many relationships in WordPress, the Posts 2 Posts plugin created by Scribu is often cited as the plugin to use. Unfortunately, those who rely on Posts 2 Posts will need to find another solution as Scribu has officially announced that he is ending development.
In 2013, Scribu published a call for help asking those interested to adopt his plugins. A number of WordPress developers chimed in showing interest in taking over and supporting the Posts 2 Posts plugin. However, no official change in ownership occurred.
Since that post in 2013, Scribu has reviewed and tested pull requests submitted by the community. Posts 2 Posts user Paul Canning, recently opened a pull request on the project’s GitHub page questioning whether or not the plugin is actively developed.
Scribu responded in the thread explaining the reason for the lack of activity, “Yeah, I found that even reviewing pull requests is a lot of work,” he said. He subsequently updated the Readme file to include the following text:
Furthermore, I will not be doing any development work whatsoever. If you want to fix a bug in the plugin or add new features, feel free to fork it [on github (https://github.com/scribu/wp-posts-to-posts).
I will not be accepting any pull requests though, since ensuring that a code change doesn’t break things takes effort, effort which I’m no longer willing to expend.
Similar to his call for help in 2013, Scribu received offers from developers in the WordPress community to take over development of Posts 2 Posts. The most notable is from Daniel Bachhuber, maintainer of the WP-CLI project.
“Thanks, @danielbachhuber, but I’ve heard that line several times before, from several different people, and nothing happened,” Scribu replied. “If someone is truly interested, they’ll just fork it, merge any interesting pull requests and go from there.”
Bachhuber states that his fork would likely be renamed. Scribu agreed with the idea as the plugin has evolved over time to go beyond posts-to-posts relationships.
I asked Bachhuber what the status of his fork is, “There are no updates at this point,” Bachhuber told the Tavern. “I maintain enough stuff without pay at this point. If I do fork and rename in the future, it will be some form of paid plugin.”
As for alternatives, a cursory search of many-to-many on the WordPress plugin directory generates four results. Posts 2 Posts is actively installed on more than 20K sites. Considering the plugin has established itself as the defacto standard for providing this functionality, it’s no surprise that when asking the Tavern’s Twitter followers for recommendations, it’s the most recommended plugin.
Posts to Posts by Scribu for clients, post meta if I need one or two.
— JayWood ? (@plugish) August 3, 2016
posts to posts
— Ali علي (@Mahjouba91) August 3, 2016
For years, WordPress developers have expressed their desire to be able to create many-to-many relationships in WordPress core. When Andrew Nacin published a potential roadmap for creating taxonomy meta and post relationships in WordPress in 2013, he explained why the Posts 2 Posts plugin was not merged into WordPress core.
The existing Posts 2 Posts plugin by @scribu is fantastic and serves the niche well. But we’re not really comfortable making any architecture or API changes along these lines while our taxonomy schema is still in a far from ideal state.
Although post relationships are unlikely to happen in the immediate future, a lot of work has been accomplished on improving WordPress’ taxonomy schema. WordPress developers who rely on the Posts 2 Posts plugin are encouraged to find an alternative and keep a close eye on the plugin’s GitHub page for news of any forks that are created.
If you know of a plugin that provides functionality similar to Posts 2 Posts, please share it with us and our readers in the comments.