• Resolved cselin

    (@cselin)


    I’m using this plugin to add sidebars on certain pages. My default sidebar is blank, but I’ve made a number of different sidebars which I add to different pages using the meta box on individual pages.

    What I’ve noticed is that child pages inherit the sidebar of their parent page, even if I’ve left the sidebar selection blank in Sidebars meta box in the page editor.

    This website has over a hundred pages so I don’t want to require my client to manually choose the default sidebar dozens of times.

    If no custom sidebar is selected, nothing should be applied. How do I solve this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @cselin, I trust you are doing well!

    By default, the Custom Sidebars assign parent’s pages sidebar to a child page.

    To avoid this, I am afraid there is no other way as to ask your users to assign a blank default sidebar for child pages.

    You could customize the Custom Sidebars core files to achieve this. Unfortunately, we don’t offer custom development services, what you can do is check WP Jobs section for additional help from developers:
    https://jobs.wordpress.net/

    Kind regards,
    Nastia

    Thread Starter cselin

    (@cselin)

    Thanks for your reply. I’ll make a decision on what to do based on how the client would most prefer to manage the site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child pages inherit parent page’s sidebar’ is closed to new replies.