- Contributors: bobbingwide
- Donate link: https://www.oik-plugins.com/oik/oik-donate/
- Tags: custom post types, custom fields, and custom taxonomies UI for oik
- Requires at least: 5.2.0
- Tested up to: 6.7.1
- Stable tag: 2.4.3
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Create custom post types, fields and taxonomies that are integrated with the oik API to bring the power of oik to your website content.
- Define new custom post types
- Extend existing post types
- Define new custom fields
- Define the fields and taxonomy relationships
- Use WordPress admin to create and manage your content
- Use shortcodes from oik and oik-fields to display the content in ingenious ways
Requires:
- No PHP programming
- A bit of thought
- Some creative flair
For advanced users:
- Write CSS to style your content beautifully. Why not use the oik-css plugin?
- Extend your custom post types with action and hook filters
- Develop your own custom field plugins using the oik APIs
- Advanced API for plugin developers
- Builds on oik and oik-fields extensible architecture
- Extend pre-existing custom post type plugins that use the oik API
- Select post types to be shown on the home page
- Select post types to be publicized by Jetpack
oik-types does not define any shortcodes of its own. You simply use the shortcodes from oik and oik-fields
- action "oik_types_box"
- action "oik_fie_edit_field_options"
- action "oik_fie_edit_field_type_$type"
- filter "oik_query_field_types"
- Upload the contents of the oik-types plugin to the `/wp-content/plugins/oik-types' directory
- Activate the oik-types plugin through the 'Plugins' menu in WordPress
- Note: oik-types is dependent upon the oik base plugin and the oik-fields plugin.
If you don't install and activate the oik-fields plugin then oik-types won't be called to apply changes to the post type registrations.
To help you define custom content for your website without having to write any code.
oik-types does not create any tables of its own. It records the information in structured arrays in the wp_options table.
- bw_types contains the manually defined custom post types
- bw_fields contains the manually defined custom fields
- bw_f2ts contains the Fields to Types relationships
- bw_x2ts contains the Taxonomies to Types relationships
Each instance of a custom post type is created in the wp_posts table Each instance of a custom field for a custom post type is created in the wp_postmeta table Each instance of a custom taxonomy is created in the wp_taxonomy and related tables
Yes. When you first create a new custom post type. If you do not then you will most likely receive a 404 message.
The following field types are provided by the plugins listed below:
- msoft - oik-msoft
- rating - oik-rating
- userref - oik-user
This plugin is dependent upon the oik-fields plugin and the oik base plugin.
Yes. Through the oik-plugins website or GitHub.
Yes, it can. But I wouldn't recommend it.
Yes. You can use it to override the definition of existing (custom) post types. You can add fields but you can't remove them.
No... but there could be as it's just a case of exporting the data from wp_options using an "Export/import options plugin."
- Definition of the oik-fields CPT
- Three instances of the oik-fields CPT
- Fields defined by oik-types
- Fields to types relationships
- Taxonomies to types relationships
Update for a fix for when the post_type query parameter is an array
- Fixed: Avoid Warning when post_type query parm is an array #29
- Tested: With WordPress 6.7.1 and WordPress Multisite
- Tested: With PHP 8.3
- Tested: With PHPUnit 9.6
Read more about oik plugins and themes