• Hey,

    Ok, so if you want to add something into the sidebar on wordpress like the archives bit for example, then you can add this before the code:

    <?php if (is_single()) { ?>

    Then the archives bit will only show in the sidebar on the single page and won’t show on pages like the index etc.

    But I want to remove something from the single page in the sidebar, so for example; the archives bit will show in the sidebar on every page, but when we get to a single page, it disappears.

    Hope you all understood me :p

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove something from the sidebar on a single page’ is closed to new replies.