WP Plugin For Homepage links

Discussion in 'Blogging' started by JohnS0N, Apr 15, 2009.

  1. #1
    I want some links to be on the homepage ONLY, not sitewide. Is there a plugin for this?
     
    JohnS0N, Apr 15, 2009 IP
  2. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #2
    You can do this easily yourself without any plugin.

    Just use below given code.

    <?php if(is_home() && $post==$posts[0] && !is_paged()) { ?>
    Your Ad links
    <?php } ?>
    Code (markup):
    DON.
     
    deluxdon, Apr 15, 2009 IP
    JohnS0N likes this.
  3. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #3
    Thanks. Instead of "your ad links" I added <?php wp_list_bookmarks('');} ?> and it worked. Reps+
     
    JohnS0N, Apr 15, 2009 IP
    deluxdon likes this.