Support » Fixing WordPress » “Leave Comment” text not showing up.

  • I am trying to enable comments on only one page on my blog. I removed all the comment tags from the “page” template originally as we did not want comments. Now, I am trying to add it back in again from the original file. This is the original code from the theme and it still does not show up.

    [ moderated code pasted at: ]

    Everything shows up but the text for “leave comment.” I have enabled everything in wordpress as far as comments go as well. Any help would be great. I’m stumped. Brandon

Viewing 4 replies - 1 through 4 (of 4 total)
  • That pastebin highlighted the likely problem–line 17 missing a ;

    Filed Under <?php the_category(', '); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?> <?php edit_post_link('(Edit Post)', '', ''); ?>

    Is the code that you pasted the correct code? I inserted it into my page and this is the result:

    Filed Under Uncatagorized | (Edit Post)

    the space there before edit post is where the code for the comments is. It will not show up at all. I am pasting this code right from the Blue Zinfindel theme and then I swapped it with the code above. Nothing.

    I just passted the code into my index.php with the same results. Here is my code:

    <?php get_header(); ?>
    <link href=”/assets/wp-content/themes/blue-zinfandel-enhanced-20/style.css” rel=”stylesheet” type=”text/css” />

    <div id=”content”>

    <?php include(TEMPLATEPATH.”/l_sidebar.php”);?>

    <div id=”contentmiddle”>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <div class=”post”>
    <span class=”pagetitle”>“>
    <?php the_title(); ?> | Filed Under <?php the_category(‘, ‘) ?> | <?php comments_popup_link(‘Leave a Comment’, ‘1 Comment’, ‘% Comments’); ?> <?php edit_post_link(‘(Edit Post)’, ”, ”); ?>

    <?php the_time(‘F jS, Y’); ?>
    <div class=”entry”>
    <?php the_content(); ?>
    <p class=”postmetadata”> Posted in
    <?php the_category(‘, ‘); ?>
    <?php endwhile; else: ?>
    <p> Sorry, no posts matched your criteria.</p>
    <?php endif; ?>

    <?php include(TEMPLATEPATH.”/r_sidebar.php”);?>


    <!– The main column ends –>

    <?php get_footer(); ?>

    It makes no sense to me. Everything shows up but the link to leave a comment….

    again, using the Blue Zinfindel theme. is the site. Thanks all.

    this is the HTML is generates….it’s not even there!!!

    Uncatagorized | </p>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Leave Comment” text not showing up.’ is closed to new replies.