NO COMMENT ON THE POST
-
In a standard THEME,
open INDEX.PHP :In the middle look at my instructions !!!
__________________
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id=”main-block”>
<div id=”content”>
<?php if (have_posts()) : ?>-
<?php while (have_posts()) : the_post(); ?>
<li class=”post” id=”post-<?php the_ID(); ?>”>
<div class=”date”><?php the_time(‘d’) ?><span><?php the_time(‘M’) ?></span></div>
<div class=”title”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
</div>
<div class=”postdata”>
<span class=”category”><?php the_category(‘, ‘) ?></span><!– ****** NO COMMENT ON THE POSTS ******** –>
<!– <span class=”comments”><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></span> –></div>
<div class=”entry”>
<?php the_content(‘Continue reading »’); ?>
</div>
<?php the_tags( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’); ?><?php endwhile; ?>
<p><?php next_posts_link(‘« Previous Entries’) ?> <?php previous_posts_link(‘Next Entries »’) ?></p>
<?php else : ?>
<h3 class=”t-center”>Not Found</h2>
<p class=”t-center”>Non trovato.</p>
<?php endif; ?>
</div><?php get_footer(); ?>
- The topic ‘NO COMMENT ON THE POST’ is closed to new replies.