Custom post types, Custom Fields & more
Custom Post Types, Custom Fields, Custom Taxonomies, Custom Templates, Custom Admin Pages, Custom Admin Notices.
Install in
“Custom post types” is the best completely free WordPress plugin that lets you:
✔ create custom post types;
✔ create custom taxonomies;
✔ create custom fields;
✔ create custom admin pages;
✔ create custom admin notices;
✔ create custom templates;
directly from the WordPress dashboard easily and quickly without writing code or development knowledge.
The “Custom post types” plugin has been designed to make many advanced CMS features simple and accessible to everyone, without any technical knowledge or programming languages. Respecting the true nature of CMS (speed and ease of use).
The “Custom post types” developers ongoing work guarantees maximum compatibility with themes, plugins and page builders. The plugin uses functions and resources already present in the WordPress core, this guarantees maximum performance and security. To report bugs, malfunctions, compatibility problems or send suggestions write to the support section.
What else? What are you waiting for? Try it now!
SUPPORT THE PROJECT
❤ WRITE A REVIEW
❤ SEND A DONATION
❤ BECOME PRO (support and get benefits)
❤ BECOME TRANSLATION CONTRIBUTOR
QUICK LINKS
Custom Post Types – Custom Fields
“Custom fields” are powerful WordPress tools needed to extend content data (posts, pages, media, etc).
The metadata generated by the custom fields can be used to: improve dashboard management, add content details on frontend, filter queries to the database.
Add custom fields to any content type:
- Any post type;
- Any taxonomy;
- Settings/Admin pages;
- Users;
- Media;
- Comments;
- Menu items;
Add any type of custom fields:
- Text;
- Number;
- Textarea;
- WYSIWYG editor;
- Range – PRO;
- Checkbox;
- Radio;
- Dropdown;
- Switch ON/OFF – PRO;
- Tel;
- Email;
- Password – PRO;
- Link – PRO;
- Date picker;
- Time picker;
- Color picker;
- File upload;
- Embed – PRO;
- Map – PRO;
- Post relationship;
- Taxonomy relationship;
- User relationship – PRO;
- Html;
- Separator – PRO;
- Repeater;
and many other coming.
Custom fields will make your project powerful and professional!
Custom Post Types – PRO FEATURES ⚡
The PRO version of the “Custom post type” plugin includes awesome features:
✔ create custom templates;
✔ create custom admin pages;
✔ create custom admin notices;
✔ +8 fields types;
✔ export settings;
✔ import settings;
✔ PRO updates;
✔ PRO support;
By choosing the PRO version of “Custom post types” you help to keep the FREE version as well.
Thanks for your support ❤
Custom Post Types – Create post type & taxonomy (1:33)
In this video you can see how simple it is to create custom post types and custom taxonomies with the “Custom post types” plugin.
I created a custom post type and a taxonomy in just over 1 minute.
Do not you believe it? Watch it!
This demo is of the older version (3.x.x), the latest version is better.
Custom Post Types – Create custom field (1:31)
In this video you can see how simple it is to create custom fields with the “Custom post types” plugin.
I created some custom fields in just over 2 minutes.
Do not you believe it? Watch it!
This demo is of the older version (3.x.x), the latest version is better.
Custom Post Types – Create custom template (1:52)
In this video you can see how simple it is to create custom templates with the “Custom post types” plugin.
I created a custom template in just over 2 minutes.
I used the “Twenty Nineteen” and Gutenberg builder, you can design the template using the page builder of your theme (see compatibility, if your theme is not compatible send a request to the developer in the support section) or using HTML code.
Do not you believe it? Watch it!
This demo is of the older version (3.x.x), the latest version is better.
100% compatible with many themes, for example:
and other fantastic free or paid themes.
You can create fantastic custom templates using HTML code or any page builder, even Gutenberg.
Custom Post Types – Why choose this plugin?
“Custom post types” is free and will save you time, and therefore money!
You can create post types, taxonomies, custom fields and templates easily in 5 minutes.
The “Custom post types” plugin generates various IDs, you can use these IDs to create / use in your own custom functions, custom templates and more.
This plugin is written using only functions included in the WordPress core, so it does not reduce the performance of your website and does not cause compatibility problems.
You can use the “Custom post types” plugin with any theme builder, with any theme and with any plugin. It’s perfect!
Custom Post Types – For developers
Using the “Custom post types” plugin you will have some PHP functions that you can use in your files:
Do you need other functions? Ask the developer from the support section.
Custom Post Types – Credits
The “Custom post types” plugin is made with ❤️
Your support, through reviews and donations, is very important for the project.
Written by Joobi from the project's own listing. See the source page
5.1.0 – 2026-11-27
- IMPORTANT: “Custom post types PRO” 4.1.0 requires this version, update this plugin first;
- IMPORTANT: the plugin settings require the new “manage_cpt” capability, given automatically to the users with “manage_options” (administrators), it can be given also to other roles;
- IMPORTANT: password fields are never printed in the edit screens and are not included in the REST API answers: leave the field empty to keep the saved password;
- FIX: when the PRO license expires the values of the PRO fields are no longer removed by a save;
- FIX: the PRO version is detected also when it is network active on multisite and not confused with other plugins;
- NEW: the PRO version strings are translated with this plugin translations (translate.wordpress.org);
- PERFORMANCE: post types, taxonomies, field groups, admin pages and notices are cached, no queries on normal requests;
- NEW: fields are registered with register_meta(): values saved by code, REST or imports are sanitized;
- NEW: REST endpoints for the plugin actions (custom-post-types/v1), used by the plugin scripts;
- SECURITY: late escaping of all the fields output;
- DEV: PSR-4 classes in the TotalPress\CustomPostTypes namespace (the CPT_* classes and cpt_*() functions keep working);
- DEV: build with @wordpress/scripts, PHPStan, PHPCS and automated tests on GitHub Actions;
5.0.8 – 2026-11-27
- IMPORTANT: post types and taxonomies created with the plugin use the core roles capabilities: contributors can no longer publish or edit others content, only editors and administrators can manage terms;
- IMPORTANT: the plugin UI requires the “manage_options” capability instead of “update_core” (it works with DISALLOW_FILE_MODS and on multisite);
- IMPORTANT: shortcodes no longer show fields of private, draft or password protected posts to users who cannot read them, and never show password fields;
- SECURITY: sanitize dropdown, checkbox and radio values and drop unknown repeater values;
- SECURITY: escape array values printed by cpt_get_post_meta() and the options labels;
- SECURITY: AJAX endpoints check the user capabilities;
- FIX: no more HTTP request to the site itself on every page load;
- FIX: options pages fields are saved on the first save, without added slashes, and by the users allowed to see the page;
- FIX: custom admin pages registered after a page the user cannot access were skipped;
- FIX: a taxonomy could override an existing taxonomy (ex: “category”);
- FIX: cpt_get_post_meta() with a post ID outside the loop, “author” and “content” of the requested post, cpt_get_post_terms() without terms;
- FIX: shortcode output-filter=”false”;
- FIX: field values with quotes and HTML attributes are saved unchanged;
- FIX: repeater with an unknown field type, taxonomy relationship AJAX parameters;
- FIX: time field with placeholder broke the fields scripts;
- FIX: required fields lock saving in the block editor (WordPress 6.7+);
- FIX: fields lookup matched partial assignments and was queried for every value;
- FIX: rewrite rules refresh when a post type is added, changed or deleted;
- FIX: dates and times use the site locale and timezone, file field accepts only attachments;
- COMPATIBILITY: WordPress 7.1, PHP 8.3; requires WordPress 6.0 and PHP 7.4;
5.0.7 – 2025-08-04
- FIX: sanitize dropdown options on field groups;
5.0.6 – 2024-12-11
- FIX: version_compare first argument null;
- FIX: check if class exist before short load using functions.php;
- FEAT: add phpversion on feedback request;
5.0.5 – 2024-04-03
- FIX: sanitize shortcodes output;
5.0.4 – 2024-03-21
- FIX: improve plugin bug feedback;
5.0.3 – 2024-03-20
- FIX: improve plugin bug feedback;
5.0.2 – 2024-03-11
- FIX: improve plugin self-request security;
5.0.1 – 2024-02-16
- FIX: Authenticated (Administrator+) Stored Cross-Site Scripting (thanks to Taihei Shimamine);
- FIX: add sanitization on repeater fields;
- FIX: html field render only allowed HTML tags for post content;
- FIX: post types by code on field groups assignment (thanks to @alessiac95)
- FEAT: now text field accept allowed HTML tags for post content;
5.0.0 – 2023-11-06
- FIX: stored XSS vulnerability in admin screens with UI labels (thanks to Taihei Shimamine);
- FIX: repeater (remove the first item, and try to add a new item, this will overwrite the existing one);
- FIX: nested repeater (after first save, the add field button add multiple times as nested repeater);
- FIX: select2 conflicts;
- FIX: refresh rewrite rules after created content updating;
- FEAT: core refactoring to improve performance and security;
- FEAT: apply WordPress standard quality code rules;
- FEAT: check for pro min version;
- FEAT: improve all plugin hooks/filters;
- FEAT: Now can use on template {{cpt-field key=XXX}} instead [cpt-field key=XXX] (for all shortcode of this plugin);
- FEAT: Now the [cpt-field]/[cpt-*-field] shortcode accept a new argument “output-filter”, if set to “0” the meta value is returned from db without apply filters, default true;
- FEAT: Now the [cpt-term] shortcode accept 2 new arguments: “output-type” links|names|ids, default links; “separator” default “, “;
- DEPRECATED: hook cpt_field_types;
4.0.12 – 2023-09-01
- Fix bug on admin page registration and not admin logged (@mhannpannos);
- Introduce admin only fields for admin notices;
4.0.11 – 2023-08-28
- Fix bug on file fields preview;
- Introducing fields for Menu items;
4.0.10 – 2023-08-17
- Color picker native instead vanilla;
- Introducing fields for Media and Comment;
- Improve rest api fields for: terms, users, media, comments;
4.0.9 – 2023-08-16
- Introducing of blacklist for prevent the override of core contents;
- Edit “Key” label to “ID”;
- Introducing Core instance;
4.0.8 – 2023-08-07
- Restore extra/users field groups;
- Improve quality of code;
- Introduce REST API fields feature;
- Add translation template;
4.0.7 – 2023-07-30
- Activation/deactivation actions;
4.0.6 – 2023-07-28
- Performance improvments;
4.0.5 – 2023-06-30
- Check if attachment.sizes.thumbnail.url exists on file field (@dealespaloit);
4.0.4 – 2023-06-12
- Fix file field styles inside repeater field (@dealespaloit);
- Prevent multiple type filter on field output;
- Post rel / Tax rel output aria-label;
Previous versions changelog
- Refer to v5.0.0 readme.txt (https://downloads.wordpress.org/plugin/custom-post-types.5.0.0.zip);
Follow this listing's changes (Atom feed)