WordPress.org

Ready to get started?Download WordPress

Forums

comment option not showing up (12 posts)

  1. moosechic
    Member
    Posted 5 years ago #

    im running 2.8 with the bogger 2.0 template. i just noticed there is no "option" for a person to make a comment??? i checked all my options under "discussion" and everything is "turned on" for people to post comments...but when people view website or an article...there is no option at the bottom to post their comments.

    when we make a post, we are sure to also check the box that says "allow comments" and still nothing?

    here is the website link: http://www.reachnations.com/nations

    any advice is greatly appreciated. thx.

  2. adamh
    Member
    Posted 5 years ago #

    It might be that that theme doesn't support comments for whatever reason. Have you tried the default theme?

  3. esmi
    Forum Moderator
    Posted 5 years ago #

    Sounds like your current theme doesn't include the relevant comment template tags and/or comment form. So the option are:

    - change to a theme that does include a comment display/form
    - edit the current theme to add the missing tags. And possibly the comment.php template file.

  4. moosechic
    Member
    Posted 5 years ago #

    oh man... i wish i would of noticed this when i downloaded the template... ugh! means i have to redesign my header... thats what i get for not thoroughly checking it out eh?

    thank you.

  5. moosechic
    Member
    Posted 5 years ago #

    quick question - i really like this template... is there any way to "add" comments to the css or something?

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Comment template tags have to be added to the theme's template files. Usually single.php. The comment form is a template file all on its own that would also be needed. CSS is purely for the colours and formatting of your pages. It can't be used to add extra functionality. Sorry.

  7. moosechic
    Member
    Posted 5 years ago #

    Esmi- you seem to know a lot... so you are saying i "can" add a comment template tag to the single.php? is this correct? if yes, can you guide me where i might find a comment template tag?

    i did look at my single.php and i do have the following code in there:

    <?php comments_template(); ?>

    i also have a comments.php page to edit...

    what can i do to get comments on this template? again my website is:

    http://www.reachnations.com/nations

    thank you so much for your time...it is SINCERELY appreciated.

  8. esmi
    Forum Moderator
    Posted 5 years ago #

    You'd need to add comments_popup_link to all post listing templates (eg: index.php, archive.php etc) and wp_list_comments to single.php to actually display your comments.

  9. moosechic
    Member
    Posted 5 years ago #

    thank you! i will give this a "go" -

  10. moosechic
    Member
    Posted 5 years ago #

    ok, i added the folowing code:

    <?php wp_list_comments( $args ); ?>

    to single.php

    and the following code:

    <?php comments_popup_link
    ('zero','one','more','CSSclass','none');
    ?>

    to index.php

    and i'm not seeing any comments anywhere...shouldn't i see something? can you verify i'm putting the code in the correct spot?

  11. esmi
    Forum Moderator
    Posted 5 years ago #

    Change <?php wp_list_comments( $args ); ?> to <?php wp_list_comments(); ?> and

    <?php comments_popup_link
    ('zero','one','more','CSSclass','none');?>

    to

    <?php if('open' == $post->comment_status) : ?><?php comments_popup_link('Comment on '.$post->post_title, '1 Comment on '.$post->post_title, '% Comments on '.$post->post_title,'postcomment','Comments are off for '.$post->post_title); ?><?php endif;?>
  12. moosechic
    Member
    Posted 5 years ago #

    well, i changed the code as you said, but i'm still not seeing comments come up... does the code have to be on a certain line or place? again, any info is greatly appreciated...

    the website is: http://www.reachnations.com/nations in case you want to view the code...

Topic Closed

This topic has been closed to new replies.

About this Topic