WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to get the link to original img in a get_post_meta img (2 posts)

  1. Rai
    Member
    Posted 2 years ago #

    Hi guys,

    I have this problem that have me stop on this new theme I´m creating for a client.

    It is about this code:

    <a href="#" class="producto" ><img src="<?php echo get_post_meta($post->ID, 'A-imagen-producto', true); ?>" width=300 height=224 alt="Producto" /></a>

    I need to have a link to the original image, so when the user click on the small image it takes to the big one.

    Maybe there is better ways to do it so please share your thougts!.
    Thanks.

  2. Rai
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic