url instead of image
-
instead of the path to full url i need a link
div class=”attachment-image”>“><img src=”<?php echo wp_get_attachment_url(); ?>” alt=”<?php the_title_attribute(); ?>” /></div>
i want to change it so i can have a url when users click the pic not the full path to attached pic
- The topic ‘url instead of image’ is closed to new replies.