This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Fields Framework

Description

Update: Now works with PHP 5.2!

Please show your support for this plugin by giving it a rating!

WordPress Fields Framework Documentation

This plugin can be used to add fields to:

Sections for Posts and Pages can also be displayed conditionally depending on whether a Page uses a certain Page Template or whether a Post uses a certain Post Format. Sections can also be displayed conditionally depending on the Post IDs, Titles or Slugs.

  • The plugin supports client side validation using JavaScript
  • The plugin can also be placed inside a theme. This is useful if you would like to bundle this plugin with a theme

Fields Supported

Currently the following types of fields are supported:

  • Group – A group of fields. You can also create a group within a group, i.e. a nested group! Groups can be nested to an infinite level, at least in theory.
  • Text Field
  • Hidden Field
  • Media Field – Let’s you upload a file or enter a custom URL pointing to a file. You can use this field for uploading any type of file to the Media library.
  • Textarea
  • Checkbox – You can set whether a checkbox can accept multiple values or not
  • Radio
  • Select – A drop down from which a single or multiple items can be selected depending on whether you have allowed selection of multiple values
  • Select_Posts – A drop down which can contain items belonging to any post type viz. Posts, Page, Attachments or of any other Custom Post Type
  • Select_Terms – A drop down which can contain terms from any taxonomy which includes Tags, Categories or any other Custom Taxonomy
  • Select_Users – A drop down which can contain users registered on the site
  • Editor – A WYSIWYG editor. This is the same one that’s used on the post edit screen by default for editing the content of the post
  • DateTime
  • ColorPicker

All fields except the Editor field can be made repeatable.

Additional Field Requests

If you feel the need for an additional field type then please use the support forum and leave your suggestion. This will be looked into ASAP.

Screenshots

  • An Administration Menu
  • An Administration Sub Menu
  • Repeatable Field Groups and Nested Field Groups
  • A section assigned to a page with a page template named 'Showcase Page'
  • A Repeatable Field Group with two fields
  • A dump of values from a particular section
  • A custom post type named 'Slide' with a section associated to it
  • A custom post type named 'Service' with a section associated to it
  • A custom post type named 'Member' with a section associated to it
  • A custom post type named 'Testimonial' with a section associated to it
  • An Administration Sub Menu with a bunch of fields
  • A section assigned to posts using the audio post format
  • A section assigned to posts using the video post format
  • A section assigned to posts using the gallery post format
  • A section assigned to posts using the image post format
  • A section assigned to a page with a page template named 'About Page'
  • Two individual fields
  • A section assigned to a page with a page template named 'Contact Page'
  • DateTime field
  • ColorPicker field
  • A demo of all fields
  • An example of a Fields Widget with a Section selection drop down
  • A fields widget rendering fields of section associated to it.
  • Front end dump of a widget section
  • Builder - Sections
  • Builder - Fields
  • Builder - Fields By Sections

Installation

  1. Upload the folder fields-framework to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create fields using the functions provided and place them inside your theme’s functions.php file or inside a plugin.

FAQ

Where is the documentation for this plugin located?

WordPress Fields Framework Documentation

Reviews

Read all 8 reviews

Contributors & Developers

“Fields Framework” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Fields Framework” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Using new version of jQuery repeatable fields plugin
  • Changing major version number from 0 to 1

0.18

  • Fixed bug related to the jQuery repeatable fields plugin. Also changed value for Tested up to 4.1

0.17.1

  • Changed value for Tested up to to 4.0

0.16.1

  • Plugin now works with PHP 5.2. Added new default_value_return_on_front argument which is by default set to true

0.15.2

  • Uploaded media not attaching correctly to respective posts

0.15.1

  • Updated readme.txt file

0.15

  • Added new post_ids, post_titles, post_slugs properties and their respective post_ids_not, post_titles_not, post_slugs_not boolean properties which if set to true will inverse the check
  • Modified repeatable-fields.js and changed wrapper variable from global to local

0.14.10

  • Changed value for “Tested up to” tag

0.14.9

  • Fixed bug related to fields that can accept multiple values

0.14.8

  • Fixed bug where repeating doesn’t work for minimal fields

0.14.7

  • Fixed bug pertaining to enqueueing of administration scripts

0.14.6

  • Fixed an undefined variable warning message related to the Editor field

0.14.5

  • Fixed minor bug related to the builder

0.14.4

  • Fixed another issue with builder related to saving of existing fields and sections

0.14.3

  • Added counter for repeatable fields
  • Fixed issue with builder pertaining to new fields and sections not saving

0.14.2

  • File repeatable-fields.js missing from JS folder

0.14.1

  • Fixed Builder UID validation bug

0.14

  • Add new import and export feature for builder data
  • Fixed bug related to editor field’s name attribute
  • Fixed bug related to multi-level group field’s name attributes

0.13.1

  • Minor bug fix

0.13

  • Refactoring of code
  • Duplicate uid no longer checked for sections & fields that skip registry
  • Added new page_templates_not & post_formats_not boolean properties which if set to true will inverse the check
  • Added ‘Standard’ to Post Formats list

0.12.2

  • Bug fixes

0.12.1

  • Fixed a JS ReferenceError

0.12

  • Added Visual Builder

0.11.2

  • Added support for client side validation using JavaScript

0.10.2

  • Added new Widgets section which let’s you add fields to custom Field Framework Widgets
  • Passing -1 to DateTime’s date_format or time_format arguments will disable display of Date or Time respectively.
  • Manually assign post ID to media uploader if and only if a given post type doesn’t have thumbnail support enabled
  • Minor bug fixes

0.9.0.1

  • Added a new Users field
  • Fixed two issues related to the media uploader
  • Further improvements to default values that are returned for the fields
  • Added skip_save argument which if set to true and passed to sections, will skip saving of those sections
  • DateTime and ColorPicker fields now appears on focus instead of click. They are not called on click because when delegated, they would need to be clicked twice to appear.
  • Replaced ColorPicker widget to more advanced one
  • Added new boolean section argument named hide_content_editor for Posts sections which if set to true will hide the content editor for those sections

0.8.2

  • Minor bug fixes related to delegation of events
  • Fixed an orphaned HTML right angle bracket
  • Screenshots updated

0.8.1

  • Field names no longer need to be the same as the field’s unique id. Instead, they can be set manually by passing a variable with key ‘name’ to the arguments array.
  • Registered sections will now be rendered even if they don’t have any fields associated to them.
  • Added actions ff_section_before and ff_section_after which get called respestively before and after a section is rendered. section_uid is passed as an argument to the Action.
  • Added actions ff_field_before and ff_field_after which get called respestively before and after a field is rendered. field_uid is passed as an argument to the Action.
  • Added new boolean field argument named minimal which if set renders the field using minimal HTML. Specially useful for groups which you would like to use as containers

0.7.1

  • Minor bug fix

0.7

  • Improved default values that are returned for the fields.
  • Refactored various parts of the plugin
  • Updated online documentation

0.6.1

  • Fixed minor bugs

0.6

  • Added a new ColorPicker Field
  • Removed URL and Email fields because a regular Text Field seems to serve well for these fields

0.51

  • Added a new DateTime field
  • Fixed variable not set warnings
  • Added a new Drop Down Field which displays a list of posts or terms

0.4

  • Added the ability of displaying fields conditionally depending on their post format(s) or page template(s)
  • Error are now thrown as Exceptions. This will help developers pinpoint the exact location which generated the error

0.3

  • Added a new Radio field

0.2

  • Added three functions that can be used on the frontend to retrieve a particular field or all fields from a certain section. Refer to the documentation for more information on this.
  • Refactored parts of the plugin

0.1

  • Initial release