I have a custom post type called
laptop with custom fields such as
RAM etc. creatied using the
Advanced Custom Fields plugin.
I’m displaying a table of laptops, where the table header is a row of custom fields, and each following row is a laptop name and it’s custom field values in each of the corresponding column cells.
I want to be able to sort the table by clicking on the table
TH cell containing the custom field name.
I’ve been pointed to meta query clauses by ACF support, but I’m out of my depth with those.
I’d really appreciate some help in generating URLs to wrap around the the custom field name in each