Template Code? Something went wrong, looks the same, but acting different.
-
Trying to use templates for the first time. Here is the code, below, it’s identical except for the `<?php
/*
Template Name: template1
*/
?>`
at the top. rest of it is straight from the original page.php. Please take a look at the site and tell me why it’s acting this way.Thanks.
http://www.relationship-oneness.com
<?php /* Template Name: template1 */ ?> <?php get_header(); ?> <div id="content_box2"> <div id="left_box"> <div id="content" class="page"> <div id="content_inner"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <div class="format_text"> <?php the_content('<p>Read the rest of this page →</p>'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> </div> </div> <?php endwhile; endif; ?> </div> <?php include (TEMPLATEPATH . '/left_bar.php'); ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Template Code? Something went wrong, looks the same, but acting different.’ is closed to new replies.