2017 © Pedro Peláez
 

wordpress-plugin papi-property-table

Table property for Papi

image

frozzare/papi-property-table

Table property for Papi

  • Monday, August 22, 2016
  • by fredrikforsmo
  • Repository
  • 1 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Papi - Table property

Table property for Papi., (*1)

Installation

This property requires Papi plugin., (*2)

If you're using Composer to manage WordPress, add Papi to your project's dependencies. Run:, (*3)

composer require frozzare/papi-property-table

Usage

<?php

$fields = [
    ['Name', 'facility_name'],
    ['ID', 'facility_id'],
    ['Location', 'facility_location_name'],
    ['E-email', 'facility_email'],
    ['Address', 'facility_street_address'],
    ['Zip code', 'facility_zip_code']
];

foreach ( $fields as $k => $v ) {
    $fields[$k][1] = get_post_meta( $_GET['post'], $v[1], true );
}

$this->box( [
    'title'   => 'Facility information',
    'context' => 'side'
], [
    papi_property( [
        'sidebar'  => false,
        'title'    => 'Facility information',
        'type'     => 'table',
        'settings' => [
            'items' => $fields
        ]
    ] )
] );

License

MIT © Fredrik Forsmo, (*4)

The Versions

22/08 2016

dev-master

9999999-dev

Table property for Papi

  Sources   Download

MIT

The Requires

 

wordpress papi

21/08 2016

v1.0.0

1.0.0.0

Table property for Papi

  Sources   Download

MIT

The Requires

 

wordpress papi