#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Icons/Collage Help


    Hello everyone!

    I have a problem with my wordpress site. I asked for help on the wordpress support forum, however I decided to try here to see if you guys can solve my problem.

    Here's the website: withlovedelmy.com

    The problem is this. I have a collage and social media icons under the navigation bar. It's fine on the homepage, BUT I don't want them to show up on the other pages.

    Is there a code or a way to where they'll only show on the homepage? Any help would be appreciative.
  2. #2
  3. Administrator
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Location
    Troy, NY
    Posts
    47
    Rep Power
    10
    The following code will only display on the home page.

    Code:
    <?php if (is_home()) {
            echo "social media icons go here";
    } ?>

IMN logo majestic logo threadwatch logo seochat tools logo