page template problem
-
Hi
i’m giving a go with wordpress to see wether it fits my need and i’ve stumbled in a problem that seems pretty difficult (to me, al least:).I’ve got my page template for the static pages which is pretty easy (one column layout):
backticks
<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”contentPaginaInterna” id=”post-<?php the_ID(); ?>”>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>
</div>
<?php get_footer(); ?>
backticks
the problem is that i need to split the content in two: an image above the title and the text below it. How can i do that and still leaving the possibility to create the page in one step only?
Here’s what i need to achieve:
header()
img (part of the content)
title()
text content
footer()Any idea? is the problem clear?
Vitto
- The topic ‘page template problem’ is closed to new replies.