• Hi there,

    I’d like to be able to show just the Parent Category. Is there a way to do this without showing the child categories too?

    Kind regards,
    Craig

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author willemso

    (@willemso)

    Hello Craig,

    no, this is not included on the code at the moment.

    It could rather easily be added in the “category.php” file by adding an additional check ie. “parent = only”, and duplicating the already existing lines of code, but changing;

    if ($category->parent != 0 to if ($category->parent == 0

    To be honest I have little time available at the moment to make the changes myself, test all code an push it to production. So if you have the skills you could give it a go, otherwise it will take some time (like in more then a month).
    sorry.

    Thread Starter Craig

    (@cpfusion)

    Hi @willemso, thank you for your reply. I will give what you suggest a try and let you know how it goes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to show Parent only?’ is closed to new replies.