How to put ads on front page of my wordpress blog ?

Discussion in 'WordPress' started by poseidon, Dec 17, 2007.

  1. #1
    Hi, I am just looking for that plugin of wordpress using which I can insert ads on front page of my wordpress blog, just below title.

    I don't want to edit the template files as I am displaying 10 posts at once and certainly don't want the adsense code to display 10 times!

    Thanks :)
     
    poseidon, Dec 17, 2007 IP
  2. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #2
    I dont think there is any option rather than editing the index.php file and adding the code below/above :
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    Code (markup):
     
    amitpatel_3001, Dec 18, 2007 IP
  3. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks amit, let me see how it works.

    On the side note, even when you are less active and I am full active in DP, you still seems to be making more posts then me :)
     
    poseidon, Dec 18, 2007 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Just make sure it is before the loop and you won't have any problems.

    In case you've forgotten, this is the code to post before:

    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    Code (markup):
     
    mizaks, Dec 18, 2007 IP