WordPress.org

Ready to get started?Download WordPress

Forums

How to show widget only on the first page? (2 posts)

  1. Garm
    Member
    Posted 7 years ago #

    How to show widget only on the first page?

    That is needed for links exchange, when links should be onli on the first page but not on the rest of the pages.

    Maybe some php coding, that controls what page it is shown?

  2. drmike
    Member
    Posted 7 years ago #

    I'd wrap the code that the widget outputs with a is_home() check.

Topic Closed

This topic has been closed to new replies.

About this Topic