https://github.com/wp-papi/papi-property-table
Papi - Table property
https://github.com/wp-papi/papi-property-table
Last synced: 3 months ago
JSON representation
Papi - Table property
- Host: GitHub
- URL: https://github.com/wp-papi/papi-property-table
- Owner: wp-papi
- License: mit
- Created: 2016-06-22T15:20:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T17:31:28.000Z (over 7 years ago)
- Last Synced: 2024-11-25T10:48:18.029Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Papi - Table property
Table property for Papi.
## Installation
This property requires [Papi](https://wp-papi.github.io/) plugin.
If you're using Composer to manage WordPress, add Papi to your project's dependencies. Run:
```sh
composer require frozzare/papi-property-table
```
## Usage
```php
$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](https://github.com/frozzare)