WordPress.org

Ready to get started?Download WordPress

Forums

Mystique
Sidebar only on homepage (1 post)

  1. Outbox
    Member
    Posted 1 year 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