【发布时间】:2013-06-03 14:08:48
【问题描述】:
是否可以跟踪用户到达页面的路线?
假设我的帖子有 2 种不同的分类法 分类 1 = 制作 分类 2 = 颜色
我想为每条路线创建不同的布局
这是我当前的层次结构:
Mercedes -> blue -> car - the user gets template 1 (single-car.php)
blue -> Mercedes -> car - the user gets template 1 (single-car.php)
这就是我想要的
Mercedes -> blue -> car - the user will get template 1 (single-car_by_make.php)
blue -> Mercedes -> car - the user will get template 2 (single-car_by_color.php)
不使用额外的查询字符串可以吗?
【问题讨论】:
标签: wordpress templates custom-taxonomy