Support » How-To and Troubleshooting » [Resolved] Strange comments problem

[Resolved] Strange comments problem

  • Blog: http://www.dalekeiger.com

    WP: 2.0

    Plug-ins: SK2.1, plus the SK plugin

    Theme: Lee Penney’s ‘Georgia,’ considerably modified by me

    Problem: I wish to allow commenting on blog posts. Under settings/options/discussion I have checked the ‘allow comments’ box. When I post, however, no comment option appears with the post, despite the fact that when I scroll down to the ‘post preview’ section of the ‘write post’ screen, a comment box appears, albeit a box that’s formatted all wrong with the text box spilling over into the right sidebar column.

    Any suggestions?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Could you explain what you mean by “no comment option”? Are you saying that when you type a comment and click “submit,” it just disappears?

    filosofo: No, what I mean is that when I view my blog, after each post there’s no place to submit a comment; it’s as if I’m not allowing comments at all, even though I’ve configured the site to allow them.

    What’s so weird is the comment box appears when I preview a post. It’s gone, however, when I view the blog.

    Okay, I see what you’re asking. Right now, clicking on each post’s title leads to the individual post where someone can leave a comment.

    If you want to make it more obvious, edit the index.php file in you theme’s directory and add something like
    <?php comments_popup_link('No comments yet', '1 comment so far',
    '% comments so far (is that a lot?)', 'comments-link', 'Comments are
    off for this post'); ?>

    somewhere around the place “Filed Under:” appears.

    For more on customizing the comments link, see http://codex.wordpress.org/Template_Tags/comments_popup_link

    The comment box is there:
    (clicking on the title of the post) it is just badly formatted.
    And not having a link on the main (index) page showing the link to thecomments and/or the number of comments: check your index page that the code line
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> or something similar is present.

    filosofo, moshu=geniuses

    Got that fixed now…’cept for the rotten formatting. Any suggestions on fixing that, moshu?


    IN your comments.php template file change this line:
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    change the cols=100% value to something smaller and/or to px.

    Where do I find that template?

    Every template file is supposed to be in your theme folder:

    What I have in my theme file is index.php and theme.css.

    To be honest, I hate when people argue with me not based on facts:
    Your theme’s stylesheet is here:
    In the same Carrot folder there should be your comments.php file as well as all the theme template files. If there isn’t you are not using the proper theme system and I cannot help 🙁

    There was no problem with my facts. For some reason–can’t say why–my theme file lacked that php file and a number of others. I’ve uploaded a comments.php file and with some work will have it functioning properly. Thanks for your help.

    Some themes use files like comments.php from the default theme instead of creating their own.

    Which I suspect is exactly what was happening. Thanks, filosofo, and you too, moshu. Appreciate the guidance.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Strange comments problem’ is closed to new replies.