Greetings. I have a WordPress blog and two different sidebars – sidebar.php and sidebar2.php.
Currently, the same sidebar is displayed on both the index page and the single post page. How do I display sidebar.php for the index page and sidebar2.php for the single post page?