Loading Widgets Via Child Theme

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 … Read more

different sidebars depending on template (is_page_template is not working)

One possiblilty: Keep the new code in sidebar.php in your child theme. In blog-page.php, change the line get_sidebar(‘blog-sidebar’); to do_action( ‘storefront_sidebar’ ); (as in an original page.php). Tested in a blog-page.php page template without custom query and loop, and also no woocommerce installed, this should work. If not, the custom query and loop might interfere. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)