For whatever reason, maybe it was caching-related, but waiting a day and then adding this code at the bottom of functions.php
solved the issue:
if (function_exists("register_sidebar")) {
register_sidebar();
}
According to this article – see the ‘How do I add the Widgets menu option’
https://elementor.com/help/hello-theme-tips/
So then the full code for my functions.php
file within the child theme is:
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
}
add_action('widgets_init', 'outWidgetsInit');
function ourWidgetsInit() {
register_sidebar( array (
'name' => 'Sidebar',
'id' => 'sidebar1',
));
}
if (function_exists("register_sidebar")) {
register_sidebar();
}