I think that code needs to be used within the Loop.
the thing is I’m using multiple loops
<?php rewind_posts(); ?>
<?php while (have_posts()) : the_post(); ?>
<div id="myBG" style="height:100%;width:100%;z-index:10;visibility:show;position:absolute;overflow:auto;left:0px;bottom:0px;background-image:url(<?php $mykey3='mykey3'; echo get_post_meta($post->ID, bg_tile, true); ?>);">
<table height="96%" width="100%" cellpadding="0" border="0" cellspacing="0" style="background-image:url(<?php $key200='mykey3'; echo get_post_meta($post->ID, bg_tile, true); ?>);background-attachment:scroll;"><tr valign="bottom"><td>
<?php $Image = get_post_meta($post->ID, 'bg_image', true); ?>
<?php echo $Image; ?>
<img src="<?php echo $Image; ?>" name="MainImage" alt="" border="0" />
</td></tr></table>
</div>
<?php endwhile; ?>
that was my attempt to put it inside it’s own loop. still didn’t work.
Have you reviewed Multiple Loops?
yes that’s where i took that code from.. – when i view source none of the custom fields are showing up..
So you want to display all posts twice?
no, http://konphlux.net
I just wanted a horizontal theme so I used multiple loops to split the content [which isn’t working too well with ‘view next post’]…
now I’m making a custom field so I can display a diff background image on each post/page so apparently i need to put it inside it’s own loop but it’s just going blank.
I just wanted a horizontal theme so I used multiple loops to split the content [which isn’t working too well with ‘view next post’]…
That might be handled better (and easier) by using a single query and then floating the posts left using CSS.
now I’m making a custom field so I can display a diff background image on each post/page
Are you using the post_class() on your post blocks? Again, with that template tag in place, there’s a lot you can achieve using pure CSS.
where do i need to add that? the_meta() ?