I had some custom sidebars set up for my child theme of Max Magazine, and they were working perfectly, until I updated Max and WP. I can’t figure out what’s wrong or how to fix it.
I have a functions.php file in the child theme, where I have registered the sidebars, and they are visible in the widget area. I can’t get them to show in the theme, though.
When I add them to the sidebar.php, they appear, but don’t work the way I want them to. I only want one of them to appear on the home page, and the other in the header. The third is a widget area on top of the main column of the home page. (The main column is in the middle, one of the new sidebars is on the left.)
I’ve tried calling them in the index.php file, both in the child folder and in the main theme folder, and that doesn’t work either, but it used to.
In the index.php file, I’ve tried:
<?php dynamic_sidebar( ‘sidebar-3’ ); ?> and
<?php get_sidebar( ‘sidebar-3’ ); ?>