1 2 3 4 5 6 7 8 |
<?php if ( is_single()) { get_sidebar(test); } else { get_sidebar(); } ?> |
Add this to single.php in place of
Then create a page called sidebar-test.php
It will then use the other sidebar as it has already found it is using the posts page(single.php)