<?php if( is_page( 'specific' ) ) get_sidebar( 'specific' ); ?>
this calls the file sidebar-specific.php only in the page with the slug or title ‘specific’
It looks like there are various page templates provided by Openstrap.
When you edit a page, on the right hand side there’s a box that says ‘Page Attributes‘ then under the heading ‘Template‘, you can choose a template from a number of combinations of where you’d like the sidebar to sit, and even the number of sidebars too.
For example; choose ‘Template Content Sidebar’ if you want to have a column for your content (to sit on the left side of your page) and the sidebar on the right.
Make sure you populate your sidebar by going to: Dashboard > Appearance > Widgets
I’m having a similar problem, however I created a new forum about this. Please could you see what I have written here: https://wordpress.org/support/topic/sidebar-only-on-specific-page?replies=2#post-7996071
my site is https://www.jasminehughes.com
Thank you all for your help! I have tried all suggestions and the plugin “Widget Logic” seems to work the best for now.
Thank you, Adeline for pointing that out to me! Did not notice it before.