Custom Fields

This plugin allows the definition of custom fields, which are then displayed whenever you edit a page to allow you to enter additional page information.

The plugin automatically maintains a field creDate containing the creation date of the page, as GetSimple is sadly missing this.

If you have I18N Search installed, you will see another column Index in the configuration. Check it to make this field searchable.

(1.9.2+) If you index a field of type checkbox, the field name will be added as a tag.

Installation

Download the plugin from http://get-simple.info/extend/plugin/i18n-custom-fields/100/ and unzip it to the plugins directory, then define the custom fields in the administration GUI at Plugins/Configure Custom Fields.

Usage

Make sure your custom fields are named in all lower case character (a-z).

Use any of the following functions in your template:

  • return_custom_field($name) returns the value of the custom field with the given name for the current page.
  • get_custom_field($name) outputs the value of the custom field with the given name for the current page.
  • get_page_creation_date($i="l, F jS, Y - g:i A", $echo=true) will return/output the creation date