A little wordpress problem

by 6 replies
7
Here is the site I want to tweak:

Goodies for women | Just another WordPress site

What I'm wanting to do is make those pictures on the main page/categories click through to amazon, not the blog post when clicked.

A small tweak in a sea of code. Anyone have any idea where to start with this

#programming #problem #wordpress
  • It might be too difficult in this sea of complex code. How irritating.

    The only other option is to redirect to amazon when a person clicks a pic and I'm pretty sure it's against their TOS.
    • [1] reply
    • You can't just arbitrarily link to Amazon but if you are an affiliate they provide you the link info... You can then link directly from the photo... that link will have your ID embedded so you can receive a commission...
      • [1] reply
  • There may be easier ways to do it, but one way would be to output each node with a thumbnail teaser, excerpt and link. You'll have to add the link field to your post type and then write some code to output each of these three fields. Plus style it of course. There may be some plugins to make this easier. Drupal would make it much easier, but that's not likely very helpful to you
  • If you end up not finding a solution PM me!
  • I've decided just to leave it as is.

Next Topics on Trending Feed