WordPress.org

Support

[Resolved] D

  • i apply this code instead <?php get_sidebar ?> in the single.php:

    <?php if (is_category('test')) {
    get_sidebar('courses'); //sidebar-courses.php
    } else {
    get_sidebar();
    }; ?>

    display always default sidebar

    please help me

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] D’ is closed to new replies.
Skip to toolbar