Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Link to image original with get_post_meta

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34268
    Rai
    Member

    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.

    #86698
    Rai
    Member

    Anyone?

    #86702
    TheDoc
    Member

    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?

    #86789
    Rai
    Member

    Hi again Doc,

    Can you tell me how to do it?.

    Thanks.

    #86793
    Rai
    Member

    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)
  • The forum ‘Back End’ is closed to new topics and replies.