Skip to content

v2.3.0

Compare
Choose a tag to compare
@frozzare frozzare released this 08 Sep 06:21
· 439 commits to 2.x since this release

Added

  • Added: before_html and after_html options that you can use to output html before property html and after property html.
  • Added: child_types (old page_types).
  • Added: standard_type for show/hide standard page type when having a page type in a parent post.
  • Added: New filter for show/hide standard page type from filter dropdown. papi/settings/show_standard_page_type_in_filter_{$post_type}
  • Added: New property for adding links with the link popup that exists in the editor.
  • Added: Support for dot templates in page type, so instead of pages/article.php can you write pages.article.php or pages.article without .php extension. The old way will continue to work.
  • Added: Import and export layer that can be used when importing data to Papi or exporting.
  • Added: papi_get_page_type_key function that will return the meta key that Papi use to save page type id in postmeta table.
  • Added: papi_set_page_type_id function so you can set page type id to a post.
  • Added: papi_page_type_exists function so you can check if a page type file exists.
  • Added: papi_option_type_exists function so you can check if a option type file exists.

Changed

  • Changed Add new page type to Add New Page (Page is the post type name).
  • Changed filter title from Show all page types to All types
  • Changed column title from Page Type to Type

Fixed

  • Fixed: wp-admin is not hardcoded on the management page.
  • Fixed: 2%F is replaced with / when setting the current menu item.
  • Fixed: post_type query for post post type works as it should.
  • Fixed: All h2 tags are h1, see Headings in Admin screens change in WordPress 4.3 for more info.