Support » Themes and Templates » Display 2 different sidebars
9 years, 2 months ago
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?
have a look at is_single and include