Use a different sidebar on post page

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)

Leave a Comment

Your email address will not be published. Required fields are marked *