Ads don´t load on wordpress

Discussion in 'WordPress' started by stratorider, May 21, 2007.

  1. #1
    I have a site with a wordpress script and my ads aren´t loading.
    I´ve uploaded the images (banners) to public_html and paste the code to the header and sidebar, but am just getting a red cross.
    What do you think it´s the issue?
     
    stratorider, May 21, 2007 IP
  2. sachin410

    sachin410 Illustrious Member

    Messages:
    6,422
    Likes Received:
    573
    Best Answers:
    0
    Trophy Points:
    410
    #2
    Are you sure you know where exactly to upload header image?

    It usually goes to images folder in the theme (folder) that you are using.
     
    sachin410, May 21, 2007 IP
  3. mooiness

    mooiness Peon

    Messages:
    409
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you are using Wordpress, the significant files include these in your template directory (wp-content/themes/your-theme-name): index.php, category.php, date.php, single.php, header.php, footer.php

    Go simple and try inserting the code in one spot first. The Wordpress loop can be confusing when you first try to edit it.
     
    mooiness, May 21, 2007 IP
  4. stratorider

    stratorider Peon

    Messages:
    175
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sachin and mooiness,
    I did what you´ve said and uploaded the files to the: theme folder>Images,

    also have all the "index.php, category.php, date.php, single.php, header.php, footer.php" files
    but they´re still not loading.
    Maybe i´ve screwed with the code, could you check it please:

    <center><a href="http://www.(e.g.=adssitename).com/hit.php?s=3&p=2&w=109980&t=0&c="><img src="TNNM_468_60_19.jpg"></a>

    I just have the empty banner boxes with the red little cross, on both header and sidebar.
     
    stratorider, May 22, 2007 IP
  5. mooiness

    mooiness Peon

    Messages:
    409
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you are just wanting to display an image, then create a folder in your web directory called "images" for example, and then all URL to the images would be in this form:
    http://your-domain-name/images/your-image-name.jpg

    Use this URL in your IMG tag above.

    Your setup is more complicated than normal though. Most ad companies (eg. Adsense, YPN) do not have such weird setups where you have to upload the images yourself. Usually they are served by the ad companies.
     
    mooiness, May 22, 2007 IP
  6. stratorider

    stratorider Peon

    Messages:
    175
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    mooiness, that´s the piece that was missing.
    Thank you so much!!
    It is working now:)

    Thank you both guys.
     
    stratorider, May 23, 2007 IP