Need help with images in wp php code

Discussion in 'WordPress' started by lavanda, Aug 20, 2010.

  1. #1
    Hi guys,
    a blonde needs help with editing php code in a Wordpress theme.

    I've got the following code <img class="featureimg" src="<?php echo get_post_meta($post->ID, "Side Photo", true); ?>" alt="" />
    When I put img url after src= nothing happens. Do I have to insert something after alt= ? How do I do it work.
    Thanks and sorry for a silly question.
     
    lavanda, Aug 20, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    Write here the code which doesn't work. And if you can write here the url too.
     
    s_ruben, Aug 20, 2010 IP
  3. lavanda

    lavanda Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you for answering, already resolved it.
    btw Art Works Expo is a nice idea)
     
    lavanda, Aug 20, 2010 IP
  4. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #4
    Thank you lavanda! :)
     
    s_ruben, Aug 20, 2010 IP