Support

Account

Home Forums General Issues Loop Through Categories

Helping

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.

    • Jeroen

    • June 19, 2019 at 6:56 pm

    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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.