Hey guys,
The only PHP experience I have is editing Wordpress themes. Usually I do a pretty good job of it. I can figure things out and add or remove code as needed.
However, this one has me stumped.
The creator has made a custom box for inserted images. I want to make these images clickable and have them link to other sites.
Here is the code that makes the image area.
PHP Code:
div class="tumbr" style="z-index:2;margin-left: 10px;float:right; width: 295px; height: 290px; background: url(<?php if($image_src != '') { echo $image_src; } else { ?><?php bloginfo('template_directory'); ?>/images/no-img.gif<?php } ?>) 0 0 no-repeat; content: ".";"> </div>
I've already tried to simply add the html code to the the image in the post section of wordpress.
I've also tried to use the wordpress UI to add the link address to the uploaded image.
Thanks guys.
|