Hi there,
My website has 5 menu-items (domain.nl/topic-1/ etc.). 4 of them are ‘filled’ with several pages about that topic (domain.nl/topic-1/page-name/) and 1 of them is filled with posts. To make the url-structures look all the same, I made sure the permalink of all posts is: domain.nl/topic-5/post-name/ (using Wordpress’ settings).
That causes two errors that hopefully can be fixed somehow:
- When people are reading a post, the menu item at the top of the page does not show a little blue line, indicating that they are in that specific section of the website. (That only happens when they read a page.)
- When using custom sidebars, a post-sidebar that I created does not show up when I select the ‘parent-page’ of my posts. Nor does it appear when I select tags that correspondent with the posts.
To be more specific:
- This is a parent-page ‘filled’ with pages: https://huisa.nl/badkamer/
- This is a page below that parent (the correct menu lights up): https://huisa.nl/badkamer/afzuiging-badkamer/
- This is the parent-page ‘filled’ with posts: https://huisa.nl/interieur/
- This is a post (menu does not change): https://huisa.nl/interieur/inspirerende-badkamer-om-weg-dromen/
Hopefully you understand what I mean. I tried my best, but it’s pretty complicated, so please let me know if you have further questions.
Thanks a lot in advance,
Sjors