Grow your CSS skills. Land your dream job.

Link to image original with get_post_meta

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

    Hi!,

    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.


    Producto

    Anyone can help?.
    Thanks.

    Rai
    # September 8, 2011 at 3:34 pm

    Anyone?

    # 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?

    Rai
    # September 9, 2011 at 8:12 am

    Hi again Doc,

    Can you tell me how to do it?.

    Thanks.

    Rai
    # 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.

*May or may not contain any actual "CSS" or "Tricks".