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?
- ORDER BY custom field value
- Best way to programmatically remove a category/term from a post
- display specific custom fields
- Add new “Insert Into Post” button with another function
- Multiple meta values for same meta_key adding on “Preview Changes” hit but not on saving or updating post
- Templates & CSS – Proper Programming Practice?
- Transients vs CRON +Custom Fields: Caching Data Per Post
- Best way to allow manageable social media URLS?
- Adding a custom field or metabox to the post-thumbnail widget?
- Using WP Query to search by multiple meta fields
- Sort by posts that have a featured image?
- WP_Query display next custom post from today’s date
- Can ordering post list by meta_value cause performance issue?
- Meta_query and numeric comparison [closed]
- Title and post URL based on custom fields?
- woocommerce product custom field
- Multiple relationships in a query
- How Meta Data is different from Custom Fields of POST/PAGE in WordPress
- two custom fields question
- Display the contents of a custom field of a page on their child
- Read / Watch / Listen times – meta
- Login WP – Connect single field to an external api
- Advanced search by two criteria – sort by location and date (ascending or descending)
- add_filter(‘query_vars’) not working in custom template
- Turn raw url into clickable links
- meta fields for the whole wordpress site
- Advanced Custom Fields functionality without plugin
- Get post ids sorted by meta_key
- get_header(), get_footer() from plugin template
- the_content of template page
- 3.8 Media Upload and Custom Meta Box
- Let’s Create Custom Field Template Documentation
- WordPress Settings API Repeatable fields
- WordPress creates new lines in postmeta table on post update
- How to add custom filed value after in wp post title
- Accessing Custom Fields on Pages
- How to Pass values to Custom Field through PHP in WordPress Posts?
- Display a different image for each page with editor
- How can I change the publish date based on a custom field?
- WP_query multiple custom fields not working
- Display Posts Query with IF function
- JQuery load php – php file without the template
- Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?
- Only admin should be able to add a particular custom field
- Custom date column in user table not sorting correcting
- pass custom value from single.php to another file via get
- How to speed up post list slowed by update_meta_cache()?
- Custom Fields displaying in single line
- variable not passed correctly to database using custom field
- How do i call up default post title in custom posts
- Custom Field URL + description
- How to save multiple custom user profile fields using repeater JQuery
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Custom taxonomy template for custom fields loop [closed]
- Admin – Search Events by a custom field
- create a custom field that let me include other posts
- Check if value exists before saving
- Get meta value when the page is a blog archive
- Populate a select box with data stored in the database?
- Change path to child of page when uploading image via custom field
- How can I hide my section title if there is no data in custom fields?
- Meta Box Data added to header redirect
- Post rating using Custom Field
- Inserting custom fields into new-post.php without using the Custom Fields Template plugin?
- Advanced Custom Fields for Header that are Editable from a Page [closed]
- What happens to bespoke page template references on theme change?
- Shortcode not picking up custom field
- Order by a meta field in query loop
- What is the point of using the front-page.php template? [closed]
- Archive for custom fields?