2017 © Pedro Peláez
 

wordpress-plugin cfs-post2post

Two way Relationship Fields for Custom Field Suite

image

sectsect/cfs-post2post

Two way Relationship Fields for Custom Field Suite

  • Saturday, June 17, 2017
  • by sectsect
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CFS Post 2 Post

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., (*1)

This plugin is inspired by Hube2's Post 2 Post for ACF, (*2)

Requirements

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., (*3)

    That's it:ok_hand:, (*4)

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

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., (*5)

You can access the Overwrite setting by going to Field Groups -> CFS Post 2 Post. And select overwrite type., (*6)

  • Do not overwrite
  • First Element
  • Last Element

The value selected in the field is deleted and the new value is added to the end.
:memo: Also automatically removing the relationship field on the other end of the removed relationship., (*7)

NOTES for Developer

  • This Plugin does not hosting on the wordpress.org repo in order to prevent a flood of support requests from wide audience.

Change log

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

License

See LICENSE file., (*8)

I have some plugins for Custom Field Suite., (*9)

CFS Loop Field Query

The Versions

17/06 2017

dev-master

9999999-dev

Two way Relationship Fields for Custom Field Suite

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3

 

plugin wordpress github relationship cfs custom field suite

17/06 2017

v1.0.1

1.0.1.0

Two way Relationship Fields for Custom Field Suite

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3

 

plugin wordpress github relationship cfs custom field suite

08/02 2017

v1.0.0

1.0.0.0

Two way Relationship Fields for Custom Field Suite

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.3

 

plugin wordpress github relationship cfs custom field suite