Custom fields are not intended as grouping mechanism, they are suited for data that can have wildly different values that are not group like. For example product weight would be a good candidate since it can wildly vary and typically there is no interest in grouping like “show me all products that weight 200g”.
For information that has (relatively) narrow set of established values custom taxonomy are much better fit. In your case “Brand” would make a lot of sense as taxonomy rather than custom field. Since taxonomy are more logical for grouping they naturally come with support for taxonomy archives. See register_taxonomy()
documentation for details.
Related Posts:
- Having different sidebar content for MANY pages?
- Add custom fields when specific templates are selected
- passing argument to get_template_part() or a better way to code
- Custom Page Template [closed]
- How do I read the value of a custom field of the page?
- Advice needed for importing custom field data and database structure
- Get Meta from Custom Field of Image URL
- List taxonomy term “Last Name” + “First Name” (taxonomy custom field) in a post loop
- Limits, not all post are showen when querying for posts by view count
- Custom fields attached to a page template only show on edit screen when page is saved
- remove initial wysiwyg editor from cms page edit
- Displaying page image in the footer automatically
- Hide text if one custom field out of two is empty [closed]
- How to display a product features dynamically with icons?
- Display custom widget value in header.php
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- How do I include a template file while allowing it to render its own dynamic content added via custom box?
- Add a field to just ONE page
- show a specific metabox dependent on the page template
- How to set up page fields with gutenberg instead of ACF
- How do I update custom field post meta in frontend post template?
- Load one page with parent and child pages
- Page template is missing fields or is invalid when I updating the template
- Append custom field items to content from plugin
- Display Child Page with custom fields within Parent Page
- Create download page from post option link
- Edit different parts of a page seperately
- RSS Feed in Custom Field
- Get custom field from page, in a post?
- How to apply Local Business Google Schema dynamically on a Custom Post single template?
- How to conditionally change template based on ACF field in WordPress 6.5 with FSE theme?
- Advanced Custom Fields: how do I check to see if a value is set in an field? [closed]
- Create custom page templates with plugins?
- WP_Query – Order results by meta value
- Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
- getting all values for a custom field key (cross-post)
- How to add a custom field in the advanced menu properties?
- Custom query with orderby meta_value of custom field
- How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?
- Using meta query (‘meta_query’) with a search query (‘s’)
- Can I exclude a post by meta key using pre_get_posts function?
- Add validation and error handling when saving custom fields?
- Custom templates not showing up in template dropdown
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Show Custom Fields in Quick Edit
- Where are custom field values stored in the database
- Validating Custom Meta Box Values & Required Fields
- Max length of meta_value
- Add custom fields to wp native gallery settings
- How to fix missing custom fields after upgrading to WordPress 4.8.1?
- How to enable custom fields for pages (if not a bad practice)?
- How can I add extra attribute in the ‘Page Attribute’ section in wp-admin for pages?
- Is there a way to set default custom fields when creating a post?
- Custom post meta field effect on the performance on the post
- How to get custom post meta using REST API
- Custom field/meta populated by dropdown of existing posts?
- Difference between meta keys with _ and without _ [duplicate]
- Is there any action filter/hook for validating a custom field before publishing the post?
- Remove Dimension from wp_get_attachment_image
- Orderby meta_value only returns posts that have existing meta_key
- Underscores in custom fields
- What is the index [0] for on post meta fields?
- How can I load a page template from a plugin?
- What is “meta_input” parameter in wp_insert_post() used for?
- Query Posts or Get Posts by custom fields, possible?
- Is there a WordPress plugin that registers a plugin file as a custom page template?
- How to enable revisions for post meta data?
- Sortable Custom Columns in User Panel (users.php)?
- Any way to add custom options to Gallery Settings?
- Page editor missing Templates drop down
- The “_encloseme” Meta-Key Conundrum
- ORDER BY custom field value
- Individual Widgets per Page
- Add subtitle to Woocommerce product title
- Best way to programmatically remove a category/term from a post
- Is it possible to stop selected plugins from loading on certain template pages?
- Importing data for advanced custom fields plugin?
- Gutenberg add a custom metabox to default blocks
- SQL Query to copy value of a meta_key into another meta_key
- Passing parameters to a custom page template using clean urls
- ‘Preview Changes’ for custom meta boxes?
- Adding a custom field to the site identity menu
- Using TinyMce with textareas in meta boxes on custom post types
- Filter WP_Query for posts having a certain meta-value
- How to correctly call custom field dates into a posts_where filter using SQL statements
- Using get_post_meta with new_to_publish
- How to edit contents of dynamic_sidebar()?
- Is there a way to get protected meta fields through any of the available built-in WordPress APIs? (xmlrpc, wp-json)
- Add a Jquery Datepicker to custom field in post edit
- add meta box – custom field : which to choose?
- Preserving line breaks when saving and displaying custom fields data
- How to return Meta data from the REST API?
- Advanced Custom Fields – Get custom fields from parent page
- Can I query custom meta data through WP_Query
- Add custom field to the archive page?
- How to move page templates to custom folder?
- Setting a custom sub-path for blog without using pages?
- Ways to have multiple front-page.php templates that can be swapped out?
- Saving custom data for each user
- Is it safe to store a user setting you don’t want the user to ever modify as a user option?