• Hello,

    i want to edit my new theme so that my main body box which is a greeting post on the front page is a bit wider and divide it into two/three different sections (one for the greeting post and one for updates and what not), i learned about <table >’s in school which sounds like could do the job but i dont think it will work with css or xhtml.

    i found a theme page template that could possibly work but its made for an image to the left:

    <?php
    /*
    Template Name: Home Template w/ Side Photo
    */
    ?>
    <?php get_header(); ?>
    
    <div id="content">
    <!--page.php-->
    
    	<?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
    
    <img class="featureimg" src="<?php echo get_post_meta($post->ID, "Side Photo", true); ?>" alt="" />
    
    	<!--post title-->
    	<h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>
    
    	<!--post text with the read more link-->
    	<?php the_content('<div class="post-more">Read the rest of this entry &raquo;</div>'); ?>
    
    	<!--for paginate posts-->
    	<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
    	<?php //comments_template(); // uncomment this if you want to include comments template ?>
    
    	<?php endwhile; // end of one post ?>
    
    	<?php else : // do not delete ?>
    
    	<h3>Page Not Found</h3>
        <p>We're sorry, but the page you are looking for isn't here.</p>
        <p>Try searching for the page you are looking for or using the navigation in the header or sidebar</p>
    
        <?php endif; // do not delete ?>
    
    <!--page.php end-->
    </div>
    
    <!--include bottom sidebar-->
    <?php get_sidebar(); ?>
    
    <!--include footer-->
    <?php get_footer(); ?>

    would there be a way to edit it so I can have another separate areas instead of a picture to the left?

  • The topic ‘Can div tags do this?’ is closed to new replies.