Treehouse: Grow your CSS skills. Land your dream job.

Link to image original with get_post_meta

  • Rai
    # September 8, 2011 at 2:35 pm


    I have this code in wordpress where I´m calling an image with custom field, I need that this image has a link to the original image.


    Anyone can help?.

    # September 8, 2011 at 3:34 pm


    # September 8, 2011 at 4:56 pm

    It sounds like you shouldn’t be using a custom field. If you are going to use post_meta to get the full size image, why don’t you use it to also get the thumbnail?

    # September 9, 2011 at 8:12 am

    Hi again Doc,

    Can you tell me how to do it?.


    # September 9, 2011 at 9:32 am

    The solution was in front of my eyes:
    Will be like this:

    ID, 'image', true); ?>" class="product" >Producto

    Hope this can help someone else.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.