Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个自定义分类法,它本质上是第二类,可以是“食物”或“饮料”。
有没有一种方法可以在 URL 中包含这个分类学 slug?
例如,具有自定义分类“食物”的“免费”类别中的帖子,我想显示为 domain.com/free/food/post-title
知道如何实现吗?
更重要的是 - 是否可以在分类“食物”的“免费”类别中拥有所有帖子的存档页面?例如,只需访问 domain.com/free/food,然后在此处显示所有帖子。
非常感谢。