Fixed image placement in a post template??

Discussion in 'WordPress' started by 123GoToAndPlay, Feb 23, 2010.

  1. #1
    Hi

    I am developing a simple theme and i was wondering how i can fix place two images, like

    -----------
    title
    imgA imgB
    date
    content

    How can i make a post template where imgA and imgB will be replaced with selected images in the WP admin????

    Any tips, suggestions?
     
    123GoToAndPlay, Feb 23, 2010 IP
  2. humgurung

    humgurung Active Member

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #2
    use either 'table' or 'div'
     
    humgurung, Feb 25, 2010 IP
  3. 123GoToAndPlay

    123GoToAndPlay Peon

    Messages:
    669
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ha tx,

    but that wasn't what i meant.

    I got it to work by using custom values and meta

    like
    
    $imageA = get_post_meta($post->ID, 'image-A', true);
    
    Code (markup):
     
    123GoToAndPlay, Feb 25, 2010 IP