• I can see and post comments on my posts but there is no place in my pages for comments. At the bottom of a page I should see a place to add a comment but there is nothing. Below is my index.php if someone could please have a looksy. Thank you.

    <?php get_header(); ?>

    <div id=”wrapper”>

    <div id=”content-wrapper”>

    <div id=”content”>

    <?php if (have_posts()) : while (have_posts()) : the_post();
    if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

    <?php
    // check for thumbnail
    $thumb = get_post_meta($post->ID, ‘Thumbnail’, $single = true);
    // check for thumbnail class
    $thumb_class = get_post_meta($post->ID, ‘Thumbnail Class’, $single = true);
    // check for thumbnail alt text
    $thumb_alt = get_post_meta($post->ID, ‘Thumbnail Alt’, $single = true);
    ?>
    <div class=”post-wrapper”>

    <div class=”post”>

    <div class=”homepost-left”>
    <div class=”thumbnailwrap”>
    <?php // if there’s a thumbnail
    if($thumb !== ”) { ?>

    <img src=”<?php echo $thumb; ?>”
    class=”thumbnail-home” width=”94px” height=”94px”
    alt=”<?php if($thumb_alt !== ”) { echo $thumb_alt; } else { echo the_title(); } ?>”
    />

    <?php } // end if statement

    // if there’s not a thumbnail

    else { echo ”; } ?>

    </div>
    <?php Show_Dropdown(); ?>
    </div>

    <div class=”homepost-right”>
    <span class=”titles”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></span>
    <?php the_content_limit(300, “”); ?>
    </div>

    </div>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; ?>

    <p class=”pagination”><?php next_posts_link(‘« Previous Entries’) ?> <?php previous_posts_link(‘Next Entries »’) ?></p>

    <?php else : ?>

    <h2 >No Results Found</h2>

    <p>Sorry, your search returned zero results. </p>

    <?php endif; ?>

    </div>

    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    </body>
    </html>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mythaimedia

    (@mythaimedia)

    Found the fix: I added this to page.php

    <?php comments_template(); ?>
    <?php comments_popup_link(‘Comment’, ‘1 Comment’, ‘% Comments’); ?>

    LJagermaster

    (@the-living-legend)

    Where abouts in page.php did you add it? I’m trying to achieve the same thing but so far it isn’t showing up on my pages (and I’ve kept the checkmark in the “Allow Comments” box)…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t see comment area on Page’ is closed to new replies.