Can someone help me with some code?
i have a custom post type called “customers”. Each customer has a custom field (select) called category.
i would like to write and index page that loops through each category and echos the title of the category and then the linked title for each customer.
Isn’t it easier to use the built-in WordPress categories for your custom post type? That way you could create archives a lot easier.