Skip to content

Releases: wp-papi/papi

v3.1.0-beta2

13 May 12:10
Compare
Choose a tag to compare

Second beta release of Papi 3.1!

Changes since v3.1.0-beta1:

Added

  • Added: body_classes method to all types which can be used to add custom body classes.
  • Added: show_permalink to page type so permalink div can be hidden.

Fixed

  • Fixed: Heartbeat JavaScript will only add Papi fields when a post id exists.
  • Fixed: Taxonomy fields will now be saved
  • Fixed: Taxonomy custom labels will be overwritten on the frontend
  • Fixed: Group property child properties slug will only be changed in WordPress admin.

v3.0.7

09 May 10:59
Compare
Choose a tag to compare
  • Fixed: Locale should be restored after papi_slugify is used #169.
  • Fixed: Show standard page type filter is used when only one page type exists.

v3.1.0-beta1

02 May 08:17
Compare
Choose a tag to compare

First beta release of Papi 3.1!

Added

  • Added show_screen_options to all types meta method that can turn off screen options tab.
  • Added show_help_tabs to all types meta method that can turn off help tab.
  • Added help method to all types which can be used to add help tabs.
  • Added help_sidebar method to all types which can be used to add help tabs sidebar content.
  • Added support for taxonomy types with support for term meta.
  • Added wp papi term command like post command.
  • Added mce_buttons settings to editor property.
  • Added media_buttons, teeny and drag_drop_upload settings to editor property.
  • Added vertical boxes support #148.
  • Added support for saving properties on revision posts and restoring revision data.
  • Added display option to box options in order to control if the box should be displayed or not.
  • Added support for repeaters inside repeaters.
  • Added support for repeaters inside flexibles.
  • Added support for render html in Publish box with publish_box method.
  • Added papi_get_entry_type_css_class to get the css class that is added to body for a entry type.
  • Added support for autosaving fields.

Changed

  • Updated cross icon for file property with new color #158.
  • Updated so $id param for papi_get_slugs is optional.

Removed

  • Removed Papi tool page.

v3.0.6

14 Apr 10:46
Compare
Choose a tag to compare
  • Fixed: Attachment types used on a page type didn't load right, so the site performance was bad.
  • Fixed: Object cache issue with properties that overwrites a existing post field. Cached data was loaded in WordPress admin.

v3.0.5

01 Apr 10:16
Compare
Choose a tag to compare
  • Fixed: Datetime did not work in repeater #166.

v2.4.15

01 Apr 10:29
Compare
Choose a tag to compare
  • Fixed: Datetime did not work in repeater #166.
  • Fixed: Require for link property #165.

v3.0.4

23 Mar 17:05
Compare
Choose a tag to compare
  • Fixed: Require for link property #165.
  • Fixed: Check so file exists before calling file_get_contents when reading page type files.

v2.4.14

21 Mar 14:56
Compare
Choose a tag to compare
  • Fixed: Maximum execution time problem with papi_get_all_page_types
  • Fixed: Check so file exists before calling file_get_contents when reading page type files.

v3.0.3

18 Mar 13:10
Compare
Choose a tag to compare
  • Fixed: Box options didn't work when no properties exists in the box.
  • Fixed: Some properties that was stored in options table did return null from papi_get_option, mostly flexible and repeater.
  • Fixed: Object cache issue with options fields that did get post id instead of zero that options should have.
  • Fixed: Check for registered directories before they are used.

v2.4.13

18 Mar 13:10
Compare
Choose a tag to compare

Fixed

  • Fixed: Box options didn't work when no properties exists in the box.
  • Fixed: Some properties that was stored in options table did return null from papi_get_option, mostly flexible and repeater.
  • Fixed: Object cache issue with options fields that did get post id instead of zero that options should have.
  • Fixed: Check for registered directories before they are used.
  • Fixed: Double fields issue for any field when using papi_get_field in hooks that fires earlier then admin_init #153.

Removed

  • Removed: papi_get_all_page_types had a broken cache that didn't work as it should when you have more than one Papi directory it will not load all types.