Is there an image equivalent to <?php get_header(); ?>?
We are using WP as a CMS, and have our content area setup as follows:
*/
?>
<?php get_header(); ?>
<div id="middle">
<div id="content">
<div id="hold">
<div id="picture">oaktree02.jpg</div>
<div id="text">
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
<?php the_content('{more}'); ?>
<?php // the_time('F jS, Y') ?>
<p class="postmetadata"><?php // the_category(', ') ?><?php // edit_post_link('Edit', '', ' | '); ?> <?php // comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div id="bottom"><div id="empty"></div></div>
<?php get_footer(); ?>
With this setup, we are able to post copy, and the future WordPress CMS administrator will be able to go in and change the text. However, they will not be able to change the image that will be in <div id="picture"> (see above)
Is there a way that we can reference the pictures that get uploaded (<?php the_content('{more}'); ?>) And have those show up in <div id="picture"> instead of what we are currently doing, which is manually uploading images to the page into that div?
Basically, we need to allow the Site Admin to upload pics, but with the current layout of the site, they would only be able to add them to <div id="text">.
Screengrab below
the oak tree is within <div id="picture">, the text to the right of it in <div id="text">.
http://i115.photobucket.com/albums/n313/unkind06/wp_ques.jpg
Thanks in advance!
drewinator