PHPackages                             sectsect/cfs-post2post - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sectsect/cfs-post2post

ActiveWordpress-plugin

sectsect/cfs-post2post
======================

Two way Relationship Fields for Custom Field Suite

v1.0.2(6y ago)311GPL-3.0+PHPPHP &gt;=5.3

Since Feb 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/sectsect/cfs-post2post)[ Packagist](https://packagist.org/packages/sectsect/cfs-post2post)[ RSS](/packages/sectsect-cfs-post2post/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![](https://camo.githubusercontent.com/b8a22d292780c631360a84efd912e57855d5395021965174bffa6f3b255dd62f/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6c6f676f2e737667)](https://camo.githubusercontent.com/b8a22d292780c631360a84efd912e57855d5395021965174bffa6f3b255dd62f/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6c6f676f2e737667) CFS Post 2 Post
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#-cfs-post-2-post)

### Creates two way (bidirectional) relationships in [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/).

[](#creates-two-way-bidirectional-relationships-in-custom-field-suite)

This plugin does not create a new type of field or any admin interface. This plugin when used as explained below makes the existing CFS Relationship work bi-directionaly, automatically updating the relationship field on the other end of the relationship.

This plugin is inspired by [![](https://camo.githubusercontent.com/22bc216a0fe73fc9525a4de1a9a8f555f677464506a4ce9c0a4296ca13a9d54b/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6769746875622e737667)](https://camo.githubusercontent.com/22bc216a0fe73fc9525a4de1a9a8f555f677464506a4ce9c0a4296ca13a9d54b/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6769746875622e737667) Hube2's [Post 2 Post for ACF](https://github.com/Hube2/acf-post2post)

Requirements
------------

[](#requirements)

- PHP 5.3+
- Activation [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/) Plugin.

Installation
------------

[](#installation)

1. `cd /path-to-your/wp-content/plugins/`
2. `git clone git@github.com:sectsect/cfs-post2post.git`
3. Activate the plugin through the 'Plugins' menu in WordPress.

That's it:ok\_hand:

TIP
---

[](#tip)

- The field name must be the same on all posts. In other words if you want to have different post types be related then you must add a field with the same field name on both post types.
- If you want to apply to some existing posts, Resave the post.

Overwrite Settings
------------------

[](#overwrite-settings)

If the field in a related post, whether it is a relationship field that has a maximum number of related posts, if the field in the related post already has the maximum number of values allowed then, by default, a new value will not be added. You can override this default by specifying overwrite settings.

You can access the Overwrite setting by going to `Field Groups` -&gt; `CFS Post 2 Post`. And select overwrite type.

- `Do not overwrite`
- `First Element`
- `Last Element`

The value selected in the field is deleted and the new value is added to the end.
📝 Also automatically removing the relationship field on the other end of the removed relationship.

NOTES for Developer
-------------------

[](#notes-for-developer)

- This Plugin does not hosting on the [wordpress.org](https://wordpress.org/) repo in order to prevent a flood of support requests from wide audience.

Change log
----------

[](#change-log)

- **1.0.1** - Change the page-type for setting to the sub-menu page
- **1.0.0** - Initial Release

License
-------

[](#license)

See [LICENSE](https://github.com/sectsect/cfs-post2post/blob/master/LICENSE) file.

Related Plugin
--------------

[](#related-plugin)

I have some plugins for [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/).

#### [![](https://camo.githubusercontent.com/22bc216a0fe73fc9525a4de1a9a8f555f677464506a4ce9c0a4296ca13a9d54b/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6769746875622e737667)](https://camo.githubusercontent.com/22bc216a0fe73fc9525a4de1a9a8f555f677464506a4ce9c0a4296ca13a9d54b/68747470733a2f2f6769746875622d736563742e73332d61702d6e6f727468656173742d312e616d617a6f6e6177732e636f6d2f6769746875622e737667) [CFS Loop Field Query](https://github.com/sectsect/cfs-loop-field-query)

[](#-cfs-loop-field-query)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~454 days

Total

3

Last Release

2468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0ad6cda4575e93cf7751cf8d2a13d1d6c9f908e6a61448dfa5f481ca985ec0d?d=identicon)[sectsect](/maintainers/sectsect)

---

Top Contributors

[![sectsect](https://avatars.githubusercontent.com/u/5554826?v=4)](https://github.com/sectsect "sectsect (10 commits)")

---

Tags

bidirectionalcfscustom-field-suitecustom-fieldsrelationshiptwo-waywordpresspluginwordpressgithubrelationshipcfscustom field suite

### Embed Badge

![Health badge](/badges/sectsect-cfs-post2post/health.svg)

```
[![Health](https://phpackages.com/badges/sectsect-cfs-post2post/health.svg)](https://phpackages.com/packages/sectsect-cfs-post2post)
```

###  Alternatives

[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[alexis-magina/cmb2-field-post-search-ajax

CMB2 field type to attach posts to each others. Search with Ajax.

3913.4k1](/packages/alexis-magina-cmb2-field-post-search-ajax)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
