This question is too broad for a concise answer but generally speaking I’d recommend:
- A custom post type
- Custom taxonomies (for grouping)
- Custom fields for arbitrary data (a plugin like Advanced Custom Fields will save a lot of time)
You can query by both the taxonomy & custom fields using tax & meta queries. There’s a premium 3rd party addition for ACF that converts custom fields to real tables if you’re working with huge amounts of data.
Related Posts:
- Right way of storing large number of custom post fields
- Custom post type or just use custom fields
- Using posts and postmeta table to store custom Address Book Plugin data
- WP All Import – Using Xpath to set a select value
- Sorting custom post type columns with external data and without meta values
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Importing Data from a Non-WordPress database, into WP
- Specifying meta field’s column type in Database using add_post_meta
- Ideas to connect external database table to wordpress posts as custom field source
- delete duplicate meta_value with same post_id
- Having a repeating custom field in admin custom post type, what I’d go better with, for DB’s sake? ACF repeater or query a different post type?
- when looping through custom post data not appearing
- custom post types, custom fields and normalization
- Confused about where to store my data
- Populate custom post type/custom fields from an external database
- Automatically convert standard posts with custom fields to custom post types
- How to enable the user to add value through the admin panel?
- Displaying database table in backend of wordpress
- Custom Post Type Data in Sidebar widgets?
- Custom Post Types, or completely custom?
- Hide custom post type field from author?
- Many to Many Relationship between Two Custom Post Types
- Sorting a query by custom field date
- wordpress plugin error handling
- Creating Photo Gallery System with Custom Post Type
- Set post title from two meta fields
- How to sort CPT by custom meta value (date), and return posts month by month
- Trying to save custom post type from frontend partially working
- Custom Taxonomy order by Custom Field
- Comparing timestamps in meta query doesn’t work
- Is there any performance consideration when using Custom Post Types?
- Custom Post Type Navigation on Custom Field
- how to interconnect custom post types?
- Saving Custom Post types and fields to a custom table
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- search also in taxonomy, tags and custom fields
- Filter custom posts using auto populated dropdown selectors
- Querying Two Custom Post Types with OR Not Working
- How can I get the number of custom post type posts that have a specific attachment image set?
- Bulk Update Custom Fields for Custom Post Types
- Add custom field to Posts and sort by it
- Two Custom Post Types Many to Many Relationship
- Show image gallery from a custom field
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- filter custom post in rest api with custom function
- Custom Fields for Custom Post [closed]
- Displaying All Posts of a Custom Post Type in WordPress Multisite Backend
- Adding Page Templates to post but it ignored it
- Is there any way to add a “custom field” to the CPT archive page?
- Organize WordPress site, so it can maintain with huge database
- don’t publish custom post type post if a meta data field isn’t valid
- WebP Fallback for Inline Background Image in Style Attribute
- How can meta boxes be added to “unknown” custom posts?
- Custom “radio button meta box” not saving correctly
- Check if post with same meta value exists
- custom post data – how to
- Get Post Terms of Current Post (selected taxonomy term) – How to get only the taxonomy value and not “Array ( [0] => taxonomy term )” in the frontend?
- Editor / Add Media: Is it possible to only allow galleries?
- Running a song lyrics site on WordPress
- What do the numbers mean at the end of add_action(‘save_post’)…?
- A meta box (in a custom post type) with two different type of fields
- Allow front end users to add data to a custom post type
- Many to many to many custom post relationships
- copy images from custom field to another custom field
- Custom Query: If One Post Object Field Value Is The Same As Another
- Sum and count of custom field values
- Entity to store contact form entries?
- Cannot obtain custom meta information
- How to use a specific custom field in a custom post type as slug
- How do I show my containing my custom field ONLY if there is a set value on that custom field? [closed]
- How to hide a custom field from admin?
- Adding an extra parameter [string] to my posts’ permalink?
- Add Extra Category Field to CPT Categories
- Cache issue with WP_Query and custom field filtering
- Import External XML
- Empty meta-box returns publishdate if no value is set?
- Custom Post Type Meta Box Text Input Field Won’t Save When Blank
- Alike Shortcode using in Custom Shortcode
- What is the correct way that when creating a custom post type assign values to custom fields created with pods framework?
- Custom Metabox Info Not Saving
- Post Filtered by Custom Field Value
- filter rest api post by a acf filed
- How to prepend text to custom field value A, but only if custom field value B matches a certain string?
- Custom post type that lets users create a set of posts?
- How do I extract the contents of a CPT’s custom field for all posts?
- Delete custom post type metadata without deleting the post in admin area
- Creating multiple CPT posts from one Gravity form
- Converting a checkbox filter for custom fields to a dropdown
- Function not pulling image or text from custom post type
- Order Custom Posts by Several Fields
- Custom field totals
- Repeatable custom meta select boxes
- 404 on Pages for Custom Post Type & Query_Posts
- Types plugin isn’t compatible with my custom post type
- Show Posts in Vertical Tabs with Scrollbar
- How do I filter a custom post type loop by a field?
- Custom Post type as Taxonomy
- Display div based on Group metabox selection [closed]
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?
- Remote database access on another wordpress site’s custom post type