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

Parent menu item does not display posts when I add the sub-items

programmeradmin0浏览0评论

I have created 3 categories; Europe (as a parent category) and then I have two sub-categories Croatia and Wales.

In Dashboard > Appearance > Menu I when I only add the category Europe as a menu item, all posts tagged with this category are shown correctly.

However, when I then add the two sub-categories underneath it (to effectively create a drop down) the page Europe will not show any posts.

Why is this happening and is it possible to fix via the admin panel?

I have created 3 categories; Europe (as a parent category) and then I have two sub-categories Croatia and Wales.

In Dashboard > Appearance > Menu I when I only add the category Europe as a menu item, all posts tagged with this category are shown correctly.

However, when I then add the two sub-categories underneath it (to effectively create a drop down) the page Europe will not show any posts.

Why is this happening and is it possible to fix via the admin panel?

Share Improve this question edited May 26, 2019 at 20:11 fuxia 107k39 gold badges255 silver badges459 bronze badges asked May 26, 2019 at 18:35 user3755632user3755632 1134 bronze badges 3
  • Can you, please, edit your question to make it readable. – Max Yudin Commented May 26, 2019 at 18:49
  • You mean posts are not being shown where? Give an example, maybe a screenshot would help. – filipecsweb Commented May 26, 2019 at 18:52
  • @filipecsweb on the website. Do the screenshots help now? – user3755632 Commented May 26, 2019 at 19:25
Add a comment  | 

1 Answer 1

Reset to default 0

First, really stupid question: Do you save your new menu after making the changes? Sometimes it's the little things that mess everything up.

Aside from that, it might be a theme problem. Change to one of WordPress default themes (Twenty XYZ series) and see if the problem persists.

发布评论

评论列表(0)

  1. 暂无评论