Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter drb05

    (@drb05)

    Sorry I could not find the mentioned code in the link that you gave me. my wp_content/themes/conundrum/index.php
    does not have that code. This is how it looks:

    <?php get_header(); ?>

    <div id=”toplines”><?php bloginfo(‘name’); ?> ~ <?php bloginfo(‘description’); ?></div>

    <table cellspacing=”0″ id=”content”>

    <tr>
    <td id=”left”>
    <?php if (have_posts()) : ?>

    <div class=”left_bgcolour”>

    <?php while (have_posts()) : the_post(); ?>

    <div id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <div class=”posts_dateline”>Posted: <?php the_time(‘F jS, Y’) ?> by <?php the_author() ?></div>
    <div class=”posts”><?php the_content(‘Read the rest of this entry »’); ?></div>
    </div>
    <div class=”posts_bottomline”>Posted in <?php the_category(‘, ‘) ?> ~ <?php edit_post_link(‘Edit’, ”, ‘ ~ ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></div>

    <?php endwhile; ?>

    </div>

    <h2><div style=”float: right;”><?php previous_posts_link(‘Next Entries »’) ?></div>
    <?php next_posts_link(‘« Previous Entries’) ?></h2>

    <?php else : ?>

    <div class=”left_bgcolour”>
    <h2>Not Found</h2>
    <div class=”posts”>Sorry, but you are looking for something that isn’t here.
    </div>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>
    </div>

    <?php endif; ?>

    </td>
    <td> </td>

    <td id=”right”><?php get_sidebar(); ?><br><br>Latest topics in forum <br>

      <?php feedList(array(“rss_feed_url”=>”https://mysite.com/forum/forum_backend.php?id=23&type=333&feed_id=71&no_cache=1&#8221;,
      “num_items”=>15,
      “show_description”=>false,
      “random”=>false,
      “sort”=>”none”,”new_window”=>true));
      ?>

    </td>
    </tr>
    </table>

    <?php get_footer(); ?>

    You probably want to remove:
    <?php comments_popup_link('No Comments ?', '1 Comment ?', '% Comments ?'); ?>

    You also might want to rename or remove the wp-comments-post.php file, so spammers can’t directly force spam into the system.

    Note that if you allow trackbacks (and have wp-trackback.php) and pingbacks, spam can still get into your system…

    -d

    Thread Starter drb05

    (@drb05)

    could you please let me know how to disable trackback also?

    thanks,

    drb

    Thread Starter drb05

    (@drb05)

    And also, if I click on a post, the new page with the post has stuff to put a comment like message body, name, email ID etc. How can I remove that also?

    Thread Starter drb05

    (@drb05)

    anybody please?

    Thread Starter drb05

    (@drb05)

    one more [bump]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to totally disable comments section?’ is closed to new replies.