WordPress.org

Ready to get started?Download WordPress

Forums

Adding link to the home page only (2 posts)

  1. lilach
    Member
    Posted 3 years ago #

    Hi,
    I want to add link only to the home page (for interchanging links). however, every link i add is apearing in all pages of the site (like footer....)
    thanks

  2. DigitalSquid
    Member
    Posted 3 years ago #

    http://codex.wordpress.org/Conditional_Tags

    Example:

    <?php if(is_home()){ ?>
    Enter your link here
    <?php } ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.