最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Combine 2 categories in one Menu item

programmeradmin3浏览0评论

I wanted to combine multiple categories in one Menu item

I checked this dicussion, someone said:

You'd have to make a custom link for that.

Make your URL /?cat=(id-white),(id-rabbit)

Below is my link but can't show the correct categories. ID is correct.

/?cat=(id-32),(id-33)

I wanted to combine multiple categories in one Menu item

I checked this dicussion, someone said:

You'd have to make a custom link for that.

Make your URL http://www.example/?cat=(id-white),(id-rabbit)

Below is my link but can't show the correct categories. ID is correct.

http://example/?cat=(id-32),(id-33)

Share Improve this question asked Jul 17, 2018 at 0:52 Kho KenixiexKho Kenixiex 651 silver badge8 bronze badges 1
  • What do you mean by “combine”? Should it display posts that have one of these categories or posts that have both? – Krzysiek Dróżdż Commented Jul 17, 2018 at 5:37
Add a comment  | 

3 Answers 3

Reset to default 2

You misunderstood the quote, the URL needs to be

http://example/?cat=32,33

I just tested it and it seems to work. However, the title was only one of the categories' name, there might be other problems with this solution.

Use the URL like this, it will show the content of both categories:

http://example/?cat=id-32+id-33

This will show the content of both categories:

/product-category/spring-summer+pumps/
发布评论

评论列表(0)

  1. 暂无评论