1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wordpress: How to put Ad under Image

Discussion in 'Blogging' started by habanerolex, Jun 24, 2012.

  1. habanerolex

    habanerolex Junior Member

    Joined:
    Jun 16, 2011
    Messages:
    139
    Likes Received:
    35
    Location:
    Germany
    Hello,

    is there an easier way to put an Ad under the Image on the Attachment Page in Wordpress?
    Let's say I have a Gallery and it links to the Attachment Page, I could put the Ad code under each Image in the Description Field. (see screenshot).
    But that would be too much work. If I have a Gallery with 40 Images, I would have to Paste the code 40 times....
    Images in the same Category should have the same Ad under the Image.
    I tried some Ad Plugins, but none seems to be able to do this.

    Thanks.
     

    Attached Files:

  2. habanerolex

    habanerolex Junior Member

    Joined:
    Jun 16, 2011
    Messages:
    139
    Likes Received:
    35
    Location:
    Germany
    Nobody?
     
  3. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,111
    Likes Received:
    1,712
    Location:
    Banana Republic
    Are you expecting the ad link to be visited when someone clicks on the image link??
     
  4. niloydaemons

    niloydaemons Junior Member

    Joined:
    Jun 23, 2012
    Messages:
    186
    Likes Received:
    71
    Hey anybody please help.I seen someone doing that but I need to know that as well.
     
  5. azguru

    azguru Elite Member

    Joined:
    Jan 5, 2012
    Messages:
    1,770
    Likes Received:
    1,278
    Location:
    The United States
    Im sure there is a plugin for that. I don't use that feature, so I don't know a specific one, but do a little research and Im sure you can find one
     
  6. habanerolex

    habanerolex Junior Member

    Joined:
    Jun 16, 2011
    Messages:
    139
    Likes Received:
    35
    Location:
    Germany
    no, i just want to have a Banner under the Image. The Image can't be clicked anyway.
     
  7. habanerolex

    habanerolex Junior Member

    Joined:
    Jun 16, 2011
    Messages:
    139
    Likes Received:
    35
    Location:
    Germany
    I still can not find a Solution for this. I tried a lot of Ad Plugins, but nothing seems to be able to do this job.
    The Plugin "Faster Image Insert" has the feature of mass editing Images. So if you have a gallery with 20 Images, you can mass edit Image Titles, Image Alt-text and Image Captions of all 20 Images and once. But unfortunately you can not edit the description. I have no idea how to do this.
     
  8. lostpassword

    lostpassword Junior Member

    Joined:
    Jul 19, 2012
    Messages:
    135
    Likes Received:
    199
    Don't, Google will ban you for it.

    You need to make the ad distinctive from the content.
     
  9. habanerolex

    habanerolex Junior Member

    Joined:
    Jun 16, 2011
    Messages:
    139
    Likes Received:
    35
    Location:
    Germany
    I'm not talking about Adsense.
     
  10. WPRipper

    WPRipper Supreme Member

    Joined:
    Mar 24, 2010
    Messages:
    1,377
    Likes Received:
    1,493
    Location:
    Proudly romanian
    It has to be done manually. Check for this in single.php

    <?php if ( has_post_thumbnail()) : ?>

    and insert a div right after. Should do the trick.