Linux 软件免费装

Custom Types and Fields

开发者 davidlinnard
更新时间 2012年2月12日 04:09
PHP版本: 3.0 及以上
WordPress版本: 3.2
版权: GPLv2 or later

标签

Custom Fields Custom Types

下载

0.1

详情介绍:

All custom types must currently be created in code since this was the easiest way to create it. The plugin ties in to the standard HTML and Image fields functionality within Wordpress. Select boxes, checkboxes and standard text fields can also be created. By having content in the code, you can do things like create dropdowns of other content easily, as well as make migration between environments easier (example code is supplied).

安装:

  1. Upload the plugin to '/wp-content/plugins/' directory
  2. Activate the plugin through the plugins
  3. Move the file "sample-types.php" to your active theme directory
  4. Update the file with any custom types you want to create
You will still need to create templates to go with your custom types: http://codex.wordpress.org/Custom_Fields http://codex.wordpress.org/Function_Reference/get_post_custom http://codex.wordpress.org/Function_Reference/get_post_meta

更新日志:

1.0 1.1 Fix added for accessing the custom fields in admin To Do Currently fields can be left blank - add validation so this does not have to be the case Add custom icons to examples