=== Custom Field Template === Contributors: Hiroaki Miyashita Donate link: http://wordpressgogo.com/development/custom-field-template.html Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template Requires at least: 2.1 Tested up to: 2.7.1 Stable tag: 1.2 This plugin adds the default custom fields on the Write Post/Page. == Description == The Custom Field Template plugin adds the default custom fields on the Write Post/Page. The template format is almost same as the one of the rc:custom_field_gui plugin. The difference is following. * You can set any number of the custom field templates and switch the templates when you write/edit the post/page. * This plugin does not use the ini file for the template but set it in the option page of the plugin. * Support for TinyMCE in the textarea. * Support for media buttons in the textarea. - requires at least 2.5. * Support for multiple fields with the same key. * Support for hideKey and label options. * You can see the full option list in the setting page of the plugin. * You can customize the design of custom field template with css. * You can replace custom keys by labels. * You can use wpautop function. * You can use PHP codes in order to set values. (experimental, `code = 0`) * You can set an access user level in each field. (`level = 1`) * Supprt for inserting custom field values into tags automatically. (`insertTag = true`) * Adds [cft] Shortcode to display the custom field template. (only shows the attributes which have `output = true`) * Adds template instruction sections. * Adds the value label option for the case that values are diffrent from viewed values. (`valueLabel = apples # oranges # bananas`) * Adds the blank option. (`blank = true`) * Adds the break type. Set CSS of '#cft div'. (`type = break`) * Adds [cft] Shortcode Format. * Adds the sort option. (`sort = asc`, `sort = desc`, `sort = order`) * Support for Quick Edit of custom fields. (tinyMCE and mediaButton are not supported yet) * Support for the custom field search. (only shows the attributes which have `search = true`.) * Adds [cftsearch] Shortcode Format. (under development) * Adds PHP codes for the output value. (`outputCode = 0`) * Adds PHP codes before saving the values. (`editCode = 0`) * Adds the save functionality. * Adds the class option. (`class = text`) * Adds the auto hook of `the_content()`. (experimental) * You can use the HTML Editor in the textarea. (`htmlEditor = true`) * Adds the box title replacement option. * Adds the select option of the post type. * Adds the value count option. * Adds the option to use the shortcode in the widhet. * Adds the attributes of JavaScript Event Handlers. (`onclick = alert('ok');`) * Adds the Initialize button. * Adds the attributes of before and after text. (`before = blah`, `after = blah`) * Adds the export and import functionality. * Adds the style attribute. (`style = color:#FF0000;`) * Adds the maxlength attribute. (`maxlength = 10`) * Adds the attributes of multiple fields. (`multiple = true`, `startNum = 5`, `endNum = 10`, `multipleButton = true`) Localization * German (de_DE) - F J Kaiser * Spanish (es_ES) - Dario Ferrer * Italian (it_IT) - [Gianni Diurno](http://gidibao.net/) * Japanese (ja) - [Hiroaki Miyashita](http://wordpressgogo.com/) * Russian (ru_RU) - [Sonika](http://www.sonika.ru/blog/) * Turkish (tr_TR) - [Omer Faruk](http://ramerta.com/) If you have translated into your language, please let me know. == Installation == 1. Copy the `custom-field-template` directory into your `wp-content/plugins` directory 2. Activate the plugin through the `Plugins` menu in WordPress 3. Edit the options in `Settings` > `Custom Field Template` 4. That's it! :) == Known Issues / Bugs == == Frequently Asked Questions == = How can I use this plugin? = The template format is basically same as the one of the rc:custom_field_gui plugin. See the default template and modify it. == Screenshots == 1. Custom Field Template - Settings 2. Custom Field Template == Uninstall == 1. Deactivate the plugin 2. That's it! :)