2.6.0 (2026-03-31)
- Correct function name from load_theme_textdomain to load_textdomain (d68d5a4)
2.5.9 (2026-01-30)
- Fix a bug with sortable columns when a column has no title (510611b)
2.5.8 (2025-12-12)
- Fix a bug when post types couldn’t be renamed (4a33bb2)
2.5.7 (2025-04-23)
- Fix a bug with environments where site_url() is different to home_url() (#9) (77ee7f7)
- i18n: Update post type labels (#10) (6d3c6d6)
- Fixed return type for label filter.
- Fixed bugs when trying to access column data on columns that are not arrays (e.g. when column is set to
false). - Improved default compatibility with custom permalink structure when using the
page_for_archiveoption.
- Fixed a bug with orderby query parameters that are arrays.
- Fixed error notice.
- Added a new
column_orderargument for theadmin_columnsoption. - Added a new
imagetype for theadmin_columnsoption. - Added a new
customtype for theadmin_columnsoption. - Fixed a bug when updating the label for a custom post type didn’t work properly.
- Fixed a bug when search for meta for title.
- Fixed a bug when wrong translation loaded in admin.
- Fixed a bug when searching for post titles didn’t work in combination with meta value searches.
- Fixed some code style issues (thanks, @szepeviktor).
- Fixed a PHP notice.
- Fixed
sortableparameter for theadmin_columnsoption. Sorting didn’t work properly before. It should work now. - Changed default for
sortableparameter for theadmin_columnsoption fromtruetofalse. - Added new
orderbyparameter for theadmin_columnsoption that will be used in combination with thesortableparameter. - Fixed a bug when the
queryoption was interfering with sorting queries in post list tables.
- Added Dutch translations.
- Added
searchableoption as an option for admin columns to make meta columns searchable. - Changed default column type for admin columns from
defaulttometato be more explicit.
This release improves compatibility with multisite environments, especially when working with MultilingualPress.
- Fixed bug when page archives didn’t work in multilingual multisite environments.
- Fixed bug when proper archive link couldn’t be selected in multisite environment.
- Fixed bug when no page was selected for a custom post type archive in
Post_Type_Page_Option.
- Added filter to update the title for the post type archive when using
post_type_archive_title().
- Added
Post_Type_Page_Optionclass, 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_Stateclass, 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.
- Added edit page link to admin bar for archive pages.
- Fixed CSS classes added to parent and ancestor menu items.
- Added new
Types\Post_Type_Pageclass. This class allows you to define a page that should act as the archive for a Custom Post Type using thepage_for_archiveoption. - Fixed a bug with an undefined function #2 (Thanks @roylodder).
- Added new post type labels (https://make.wordpress.org/core/2018/12/05/new-post-type-labels-in-5-0/).
- Fixed wrong label assignment.
- 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.
- Fixed bug when certain values didn’t exist yet for a post.
- 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
frontendandbackendargument forquery. - Fixed when a post slug wasn’t updated on first save.
- Added new function
admin_columns()to customize admin columns for already registered post types. - Added special
thumbnailcolumn key to display the featured image. - Added
sortableoption for a column to define whether it’s sortable.
- Fixed undefined index notices.
- Renamed package from «Custom Types» to just «Types».
- Renamed classes.
- Renamed registration methods.
- Added helper class to customize post slugs when posts are saved.
- Added
queryargument to define how posts are queried in the front- and backend. - Added
admin_columnsargument to define the admin columns that should be displayed.
Initial release.