I have managed to get this to work – sort of! But not how I want. Someone else has posted they are using twentyseventeen and their sidebar appears on the right, but mine is on the left. The only way I can get this plugin to work ‘correctly’ is to switch to 2 column mode – which is not what I wanted. Also, I do not want the sidebar to appear on the left. I need it to position on the right, like it does on the posts! If I switch to single column mode I just get the sidebar above the page content and running full width. If I remove the code:‘…if ( is_active_sidebar( ‘pages-sidebar’ ) && is_page() ) {
$classes[] = ‘has-sideba’…’ from functions.php in the child theme, it positions the sidebar squashed up against the right side of the content as described in my first post.
OK so now I have tried this plugin on another site using twentyseventeen and I can’t get a sidebar to even display!
Thank you for reporting this.
Is it a custom child theme you’re using, or have you downloaded it from somewhere? The Twenty Seventeen theme has the sidebar in the right side by default, so somehow your theme has moved it to the left.
Instead of trying to revert that change, I think it’ll be easier for you to create a new child theme, or simply use the Twenty Seventeen theme itself.
In order to get sidebars on all pages in that theme (it doesn’t have it included), you can use this plugin: https://ww.wp.xz.cn/plugins/page-sidebar-for-twentyseventeen/
And you can then use Content Aware Sidebars to show/hide different sidebars on different pages.
Let me know if this helps!