WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Mystique
Sidebar only on homepage (1 post)

  1. Outbox
    Member
    Posted 3 years ago #

    Is it possible to only show the sidebar on the home page, and if so, how would I do this?

    I've tried to edit sidebar.php file with:

    First line:

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

    and the last line:
    <?php } ?>

    but it doesn't work.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic