WordPress.org

Ready to get started?Download WordPress

Forums

Subcategory Title Repeats Twice (1 post)

  1. jubilee25
    Member
    Posted 10 months ago #

    Hello there. I've been stuck on this problem here's the code I'm using
    http://pastebin.com/ms5bgxzt

    My goal is to list it as:
    ID#1 Subcategory 1
    item1A
    item1B
    item1C

    ID#2 Subcategory 2
    item2A
    item2B
    item2C

    ID#3 Subcategory 3
    item3A
    item3B
    item3C
    ------------------------------------
    BUT the actual output I get is:
    ID#1 Subcategory 1
    item1A
    item1B
    item1C

    ID#2 Subcategory 1
    item2A
    item2B
    item2C

    ID#3 Subcategory 2
    item3A
    item3B
    item3C

    What am I doing wrong?
    I think this is where the problem is, I'm not sure. Thank you.
    http://s23.postimg.org/5e4rpg20r/troubleshoot_php.jpg

Reply

You must log in to post.

About this Topic