2017 © Pedro Peláez
 

wordpress-plugin attached-post-field-cmb2

Post to post relation field for CMB2

image

andrew/attached-post-field-cmb2

Post to post relation field for CMB2

  • Sunday, April 3, 2016
  • by andrewmclagan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Attached Posts Field CMB2

Custom field for CMB2., (*1)

Create a dropdown feild listing a post type for creating a post-to-post style relationship. Saves the post ID into a custom meta field., (*2)

Example:, (*3)

            'ticket_id' => [
                'id'            => 'ticket_id',
                'label'         => 'Ticket Type',
                'description'   => '',
                'class'         => [''],
                'input_class'   => ['attendee-ticket_id'],
                'placeholder'   => 'Select your ticket',
                'type'          => 'post_type',
                'options'       => [
                    'post_type' => 'product',
                    'query'     => [
                        ''
                    ],
                ],
                'required'      => true,        
            ],  

The Versions

03/04 2016

dev-master

9999999-dev https://github.com/andrewmclagan/attached-post-field-cmb2

Post to post relation field for CMB2

  Sources   Download

MIT

The Requires

  • php >7.0.0

 

plugin wordpress post relationship metabox attached