codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Use a different sidebar on post page

    27th July 2013

    Wordpress - Miscellaneous

    wordpress category

    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)

    Was this code snippet helpful?