Custom post types and taxonomies are the appropriate method of doing this. It sounds like you’ve already identified the appropriate taxonomies and CPT:
- A
company
post type - A
company_type
taxonomy
register_post_type
and register_taxonomy
can do this for you. Don’t forget to re-save permalinks if you use those functions or change their parameters.
After doing this, new sections will appear in the Admin sidemenu, as well as frontend listings, and theme templates.
Further Reading
- https://developer.wordpress.org/reference/functions/register_post_type/
- https://developer.wordpress.org/reference/functions/register_taxonomy/
- https://developer.wordpress.org/plugins/post-types/
- https://developer.wordpress.org/plugins/post-types/registering-custom-post-types/
- https://developer.wordpress.org/plugins/taxonomies/working-with-custom-taxonomies/
Generators:
Related Posts:
- How to share category taxonomy with custom post type (The Event Calendar plugin)
- Add .html extension to custom post type taxonomies
- remove custom taxonomy metabox form custom post type
- How to Build a Movie Library in WordPress 3.x
- Custom Post Type causes Page Not Found
- Plugin allowing for artists, events and venues
- custom taxonomy and custom post type url conflict
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- List taxonomy terms for post as checkboxes
- ‘No Results Found’ on single post for custom post type
- auto populate list of questions if user select a category xyz
- “Custom Post Type Permalinks” plugin URL strcuture
- WordPress custom taxonomy not showing
- Rename existing cpt and taxonomy with new textdomain
- how to create hierachial taxonomy and manage under single post type?
- Need to edit author permissions | custom taxonomy
- Adding category base to url in custom post giving 404?
- Cannot view Custom Post Type no matter what I try
- CPT-onomies CPT_TAXONOMY->get_terms extremely slow with 6K posts
- How to list the categories by custom taxonomy created?
- Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin
- Failed to update a post when I add a taxonomy to it
- Redesigning Custom Post Type “Add New” page
- How to Add Custom Taxonomy To Woocommerce Plugin
- How Do I Use The WordPress Plugin Posts 2 Posts by Scribu?
- Creating a default Custom Post Template that a Theme can override
- Jetpack plugin (ShareDaddy): Prevent share buttons showing on custom post types?
- Getting Custom Post Type content from main-site of a Multisite
- Seriously stuck with some custom meta box/plugin stuff
- Why is this custom taxonomy showing in the database?
- [Plugin: Posts 2 Posts] reciprocal connections
- Get product attribute for Simple product in WooCommerce
- How do I get multiple pages by title?
- I need to add a custom “cover” to every new post — plugin or custom setup?
- How to Make a Custom Grid View
- How to show category images (from plugin) on a regular page (page-example.php)?
- taxonomy_template filter do not loads custom taxonomy template properly
- wordpress reusable content blocks
- Allow users mark posts as “complete”?
- Is there a way to order posts and custom post types as one group?
- dynamically generating plugin syntax
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- Accessing post’s meta data based on user’s click of a post
- Adding a custom post type taxonomy template in plugin
- Exclude post by custom meta with pre_get_posts
- How can I make a custom post type sticky?
- get_post_type() and WP_QUERY issue
- Custom post type – no layout section of Document tab, and no author choice
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- limit value taxonomy based on previous taxonomy value wordpress
- Metabox not show in categories custom post type cmb2
- WP_Terms_List_Table Quick Edit not working
- Ordering taxonomies by rank
- Plugin generated taxonomies’ permalinks with custom placeholders
- Custom Post Archive is not working
- ‘Organize Series Plugin’ as muti author feature
- Using ACF default value to autoincrement a number field
- Getting taxonomy images to display on single-post with their terms
- Where to populate custom terms in custom taxonomy in plugin?
- Default taxonomy template in plugin, override in theme
- How to Resize the Custom Post Images?
- Trying to add a page template for my custom post type from a plugin, but it will not display in the template dropdown unless file is in theme
- posts from multiple post types in one slider
- Custom Post Type – custom form in dashboard
- Renaming Custom Taxonomy Values
- WP-API Custom Post Type json_no_route
- Plugin generated unexpected output – No PHP errors
- Smarter navigation plugin and custom taxonomies
- Use jQuery Datepicker code from plugin
- Installed Forca Theme, wonder how I can alter Post editing screen
- Posts 2 Posts: Display custom types connected to the same other custom type but with another connection
- Including content from legacy app: via plugin or custom content?
- Dictionary-style definition list plugin
- Error Metabox Warning: call_user_func() expects parameter 1 to be a valid callback
- Import Recent Posts Only and Ignore old ones if exist
- WordPress REST API: Query media files attached to a custom post type
- How to get the custom field value using SQL query
- Create category for each user
- How to display the category name in the tab and post inside the tab in WordPress?
- Want to build parent-child relationships between custom post types created with CPT UI
- custom post type plugin error [closed]
- Add an action based on custom post meta field
- Merging new theme and plugins from development site to production
- Ultimate Members Default Post Layout problem
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- How to create meta fields with more than 1 relation?
- CPT UI: Connect a custom post type to a custom post type
- Taxonomy question
- Add “selected” class to custom taxonomy dropdown search
- Calling an custom field from theme option at the frontend
- Is saving multiple options or saving multiple items in one option better?
- WordPress Custom post type won’t save properly
- Making a Custom Post Type Publish Loop
- WordPress User Frontend Editing Custom Fields
- Remove base from the custom post type URL [duplicate]
- Make a magic tag work with Custom Post Types
- Filter custom post type returned from REST api
- Wrong block appender button showing
- Select posts from list and add them in a new list
- jet engine listing for every single taxonomy in post type [closed]