dev-master
9999999-devTable property for Papi
MIT
The Requires
- php >=5.3.0
- composer/installers ~1.0
wordpress papi
v1.0.0
1.0.0.0Table property for Papi
MIT
The Requires
- php >=5.3.0
- composer/installers ~1.0
wordpress papi
Table property for Papi
Table property for Papi., (*1)
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
<?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 ] ] ) ] );
MIT © Fredrik Forsmo, (*4)
Table property for Papi
MIT
wordpress papi
Table property for Papi
MIT
wordpress papi