https://github.com/anderly/piklist-field-addons
Piklist Field Addons
https://github.com/anderly/piklist-field-addons
Last synced: 11 months ago
JSON representation
Piklist Field Addons
- Host: GitHub
- URL: https://github.com/anderly/piklist-field-addons
- Owner: anderly
- Created: 2013-01-24T16:17:54.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-25T00:44:37.000Z (over 13 years ago)
- Last Synced: 2025-04-12T21:36:09.847Z (about 1 year ago)
- Language: PHP
- Size: 134 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Piklist Field Addons
[Piklist][0] is a Rapid Development Framework for WordPress. Learn more about Piklist at [http://piklist.com/user-guide/docs/][1]
- This plugin extends Piklist by creating a simple framework for adding additional field types to Piklist.
## Sample Usage
### Adding a [Select2][2] style select box
piklist(‘field’, array(
‘type’ => ‘select2′
,’field’ => ‘select’
,’label’ => ‘Select’
,’value’ => ”
,’choices’ => array(
” => ”
,’first’ => ‘First Choice’
,’second’ => ‘Second Choice’
,’third’ => ‘Third Choice’
)
,’options’ => array(
‘allowClear’ => true
,’placeholder’ => ‘Select an Option’
,’width’ => ’200px’
)
));
### More field types to come
- [Fork me][3] to add more field types
### Copyright
Copyright 2013 Adam Anderly
### License
GPLv2
[0]:http://piklist.com
[1]:http://piklist.com/user-guide/docs/
[2]:http://ivaynberg.github.com/select2/
[3]:https://github.com/anderly/piklist-field-addons/fork_select