How can I put a picture/banner on my wordpress blog to link to a affiliate product?

10 replies
I would like to put a picture on my site and link it to my affiliate product.

How can I do this?

Thank you,

Steve
#affiliate #blog #link #picture or banner #product #put #wordpress
  • Profile picture of the author andrew_writes
    If you want it in the header you need to edit the main index template and put code similar to this:

    <a href="youraffiliatelinkhere" target="_blank"><img src="linktoyourimagehere"></a>

    Also there are banner image plugins for wordpress such as:

    WordPress › AdServe WordPress Plugins

    WordPress › Wordpress-Banner WordPress Plugins

    and

    WordPress › WP-BANNERIZE WordPress Plugins
    Signature
    {{ DiscussionBoard.errors[1335002].message }}
  • Profile picture of the author Janet Sawyer
    Originally Posted by Steve36 View Post

    I would like to put a picture on my site and link it to my affiliate product.

    How can I do this?

    Thank you,

    Steve
    Use the text widget plugin if you want it to appear in a sidebar.

    Just copy and paste your html code into the text box and save it.
    I have 3 or 4 examples of this on my blog, I think the link is in my sig file.

    You can always download a copy of this free and exellent report - yes, you don't even have to give your email address to get it.
    24 Hour Wordpress Guru

    Hope that helps.

    Janet
    {{ DiscussionBoard.errors[1335109].message }}
  • Profile picture of the author TommyBussey
    You can also add an "Arbitrary Text/Html" Widget to your sidebar and simply use <a> tags and <img> tags.

    By the way, if you do this, you'll need the URL of the image which can be found in your Media Library after you upload the image.

    For example:

    <a href="http://xxx.clickbankproduct.hop.net" target="_blank"><img src="http://yourblogname.com/yourimageurl"></a>

    - Tommy

    Originally Posted by Steve36 View Post

    I would like to put a picture on my site and link it to my affiliate product.

    How can I do this?

    Thank you,

    Steve
    Signature

    - Meet Tommy Bussey -

    {{ DiscussionBoard.errors[1335422].message }}
    • Profile picture of the author Steve36
      Originally Posted by TommyBussey View Post

      You can also add an "Arbitrary Text/Html" Widget to your sidebar and simply use <a> tags and <img> tags.

      By the way, if you do this, you'll need the URL of the image which can be found in your Media Library after you upload the image.

      For example:

      <a href="http://xxx.clickbankproduct.hop.net" target="_blank"><img src="http://yourblogname.com/yourimageurl"></a>

      - Tommy
      This has been the most helpful post so far, however I'm still not getting it.

      I created an image folder, (in publick_html) and uploaded the image . But when I type it in my browser it isn't there. My site loads but with errors.

      Also, where do I put the <a> and/or <img> tags?


      Thanks

      Steve
      {{ DiscussionBoard.errors[1337099].message }}
      • Profile picture of the author rosetrees
        1) Try uploading the image from within Wordpress. In the lefthand menubar look for "Media" and then "Add New".

        2) Now use your ftp software to find where Wordpress has stored that image. Usually something like wp-content/uploads/2010/10. This tells you the path to the image.

        3) Go to widgets and add a new text widget. In there put this code:


        <a href ="http://youraffiliatelink.com/affiliateidetc"><img src="http://yoursite.com/wp-content/uploads/2010/10/yourpicture.jpg"></a>

        try that - hope it works
        {{ DiscussionBoard.errors[1337210].message }}
        • Profile picture of the author Steve36
          Thanks rosetrees, that explains it perfectly, I am still having trouble though.

          I have uploaded the image to an image folder which I created. http://www.example.com/public_html/w...atepicture.jpg


          Whenever I type this into my browser, it comes up with ERROR. I don't know what could be wrong.



          Originally Posted by rosetrees View Post

          1) Try uploading the image from within Wordpress. In the lefthand menubar look for "Media" and then "Add New".

          2) Now use your ftp software to find where Wordpress has stored that image. Usually something like wp-content/uploads/2010/10. This tells you the path to the image.

          3) Go to widgets and add a new text widget. In there put this code:


          <a href ="http://youraffiliatelink.com/affiliateidetc"><img src="http://yoursite.com/wp-content/uploads/2010/10/yourpicture.jpg"></a>

          try that - hope it works
          {{ DiscussionBoard.errors[1337355].message }}
          • Profile picture of the author rosetrees
            are there any spaces in the image name? For example - "my image.jpg" won't work, but "myimage.jpg" will.

            To locate a picture that you uploaded DIRECTLY into public_html - you just need to type in www.mysite.com/image.jpg - in other words, don't put public_html into the pathname.

            I think you'd find it much easier to do what I suggested - upload from WITHIN Wordpress and use the pathname I suggested.

            Try it.
            {{ DiscussionBoard.errors[1337468].message }}
            • Profile picture of the author Steve36
              Originally Posted by rosetrees View Post

              are there any spaces in the image name?

              I think you'd find it much easier to do what I suggested - upload from WITHIN Wordpress and use the pathname I suggested.

              Try it.
              Sorry, I got mixed up between the two methods.

              It worked!!!

              Only thing is, the pic is a small box with a '?' -no picture.


              <a href ="http://redirect.com/"><img src="http://redirect.com/wp-content/uploads/2010/10/yourpicture.jpg"></a>

              Is that right?


              Sorry to keep 'bugging you' (you may not even read this.) You desserve multiple thanks for this one!
              {{ DiscussionBoard.errors[1337595].message }}
              • Profile picture of the author rosetrees
                Are you really using this code? <a href ="http://redirect.com/"><img src="http://redirect.com/wp-content/uploads/2010/10/yourpicture.jpg"></a>

                The first time redirect.com appears should be where you put your affiliate link. The second time redirect.com appears should be the address of YOUR OWN site.

                Have you checked that Wordpress is using the path wp-content/2010/10? That was an example, and might not be exact.

                Have you checked that there are no spaces in the file name?

                It sounds as if you are almost there - you probably have an error somewhere and it's always hard to pinpoint without seeing exactly what you've done!
                {{ DiscussionBoard.errors[1337642].message }}
  • Profile picture of the author Steve36
    It's done! Thanks to you!!!

    I made a mistake in my previous post, the second redirect was my site.

    So trying to figure out what was wrong, I thought I might need to 'enable banner ads' first.

    So I went to 'current theme options' Clicked 'enable 250 x 250' and then refreshed the page...that didn't work. So I scrolled down and put in 'banner image' and 'URL' Refresh...

    It worked!

    Newbies aye!:rolleyes:

    I don't know what I was doing wrong using the 'widgets method.' (I wish I did!)

    But thanks to you, I figured it out!

    Thank you,

    Steve
    {{ DiscussionBoard.errors[1337730].message }}

Trending Topics