Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dzonsonbor

    (@dzonsonbor)

    Thanks jess_

    Thread Starter dzonsonbor

    (@dzonsonbor)

    Hej…I succeed,I put the tag in this place:
    ………….

    <?php get_header(); ?>
    <div class="entry">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2 class="search"><?php the_title(); ?></h2>
    
    <div class="postbg"><?php the_content('Read more &raquo;'); ?></div>
    
    <?php edit_post_link('Edit', '', ''); ?>
    
    			</div>
    
    <div class="comments-template">
        <?php comments_template(); ?>
    </div>
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    		<div class="post">
    		<h2 class="center search">Xplosive could not find anything!</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.
    
            </div>
    	<?php endif; ?>
    
    	</div>
        <div>
    <?php include (TEMPLATEPATH . '/topbar.php'); ?>
    <div>
    <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    </div>
    </div>
    <br clear="all" />
    <?php get_footer(); ?>
    </div>
    </body>
    </html>

    ……………..
    It works.
    Thanks again.

    Thread Starter dzonsonbor

    (@dzonsonbor)

    sewmyheadon,

    Thanks for the answer!
    But, tell me,because this is my first time to do this, where to put that tag?

    <div class="comments-template">
        <?php comments_template(); ?>
    </div>

    This is how look like my
    Page Template (page.php)
    ……………………………

    <?php get_header(); ?>
    <div class="entry">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2 class="search"><?php the_title(); ?></h2>
    <br />
    <div class="postbg"><?php the_content('Read more &raquo;'); ?></div>
    
    <br />
    <?php edit_post_link('Edit', '', ''); ?><br />
    
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    		<div class="post">
    		<h2 class="center search">Xplosive could not find anything!</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
            </div>
    	<?php endif; ?>
    
    	</div>
        <div>
    <?php include (TEMPLATEPATH . '/topbar.php'); ?>
    <div>
    <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
    <?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    </div>
    </div>
    <br clear="all" />
    <?php get_footer(); ?>
    </div>
    </body>
    </html>

    …………………..
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)