Skip to content

Releases: mindkomm/types

2.4.1

05 Aug 11:26
Compare
Choose a tag to compare
  • Added filter to update the title for the post type archive when using post_type_archive_title().

2.4.0

28 Jun 08:36
Compare
Choose a tag to compare
  • Added Post_Type_Page_Option class, which registers an option to select the page to act as the custom post type archive in the Customizer for you.
  • Added Post_Type_Page_State class, which adds a post state label to the the pages overview in the admin to recognize pages that act as custom post type archives quicker.

Read more about these functionalities in the page_for_archive section in the README.

2.3.2

07 Jun 09:19
Compare
Choose a tag to compare
  • Added edit page link to admin bar for archive pages.

2.3.1

18 Mar 14:25
Compare
Choose a tag to compare
  • Fixed CSS classes added to parent and ancestor menu items.

2.3.0

06 Mar 12:24
Compare
Choose a tag to compare
  • Added new Types\Post_Type_Page class. This class allows you to define a page that should act as the archive for a Custom Post Type using the page_for_archive option.
  • Fixed a bug with an undefined function #2 (Thanks @roylodder).

2.2.3

17 Jan 12:58
Compare
Choose a tag to compare

2.2.2

08 Oct 06:55
Compare
Choose a tag to compare
  • Updated post slug feature to not run when a post is being trashed.
  • Fixed bug when a post slug couldn’t be set when a date couldn’t be parsed. When the date can’t be parsed, the post slug won’t be changed.

2.2.1

08 Oct 06:55
Compare
Choose a tag to compare
  • Fixed bug when certain values didn’t exist yet for a post.

2.2.0

20 Sep 09:07
Compare
Choose a tag to compare
  • Added better handling of labels by updating the messages displayed in the backend and making it possible to properly translate the labels. This will open up the repository for additional languages.
  • Added new function update() to update the settings for existing post types and taxonomies.
  • Added new function rename() to rename existing post types and taxonomies.
  • Added option for post types to have separate queries with a frontend and backend argument for query.
  • Fixed when a post slug wasn’t updated on first save.

2.1.0

20 Sep 09:07
Compare
Choose a tag to compare
  • Added new function admin_columns() to customize admin columns for already registered post types.
  • Added special thumbnail column key to display the featured image.
  • Added sortable option for a column to define whether it’s sortable.