Home Forums General Issues Loop Through Categories


Loop Through Categories

  • 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.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Loop Through Categories’ is closed to new replies.