custom post types - CPTUI with ParentChild categories - Template Structure

Probably been asked a million times, but I cant quite wrap my head around it. I have come from ExpressionEngine and this

Probably been asked a million times, but I cant quite wrap my head around it. I have come from ExpressionEngine and this all seems quite straight forward over there, but I am sticking with this.

I have used CPT UI plugin to create a CPT called Products. I have three parent categories of product; granite, quartz and marble, and further sub categories in each. Pretty straight forward really?

On the front end, I want pages (I think) called Granite, Quartz and Marble, which displays the child categories which are clickable through to those child categories.

For example, the user clicks Quartz, this loads the Quartz page which displays 6 Quartz child categories which are child categories of Quartz. Clicking these then displays products of that child category.

The categories and setting up etc is easy. What I am less sure about is how to handle these using templates, despite reading the Codex.

What is the best way to do this?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745198690a4616218.html

相关推荐

  • custom post types - CPTUI with ParentChild categories - Template Structure

    Probably been asked a million times, but I cant quite wrap my head around it. I have come from ExpressionEngine and this

    6小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信