WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strange comments problem (14 posts)

  1. scribbler
    Member
    Posted 8 years ago #

    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?

  2. Austin Matzko
    Member
    Posted 8 years ago #

    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?

  3. scribbler
    Member
    Posted 8 years ago #

    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.

  4. Austin Matzko
    Member
    Posted 8 years ago #

    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

  5. moshu
    Member
    Posted 8 years ago #

    The comment box is there:
    http://www.dalekeiger.com/?p=734
    (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.

  6. scribbler
    Member
    Posted 8 years ago #

    filosofo, moshu=geniuses

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

    Dale

  7. moshu
    Member
    Posted 8 years ago #

    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.

  8. scribbler
    Member
    Posted 8 years ago #

    Where do I find that template?

  9. moshu
    Member
    Posted 8 years ago #

    Every template file is supposed to be in your theme folder:
    wp-content/theme/theme-name

  10. scribbler
    Member
    Posted 8 years ago #

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

  11. moshu
    Member
    Posted 8 years ago #

    To be honest, I hate when people argue with me not based on facts:
    Your theme's stylesheet is here:
    http://www.dalekeiger.com/wp-content/themes/Carrots/style.css
    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 :(

  12. scribbler
    Member
    Posted 8 years ago #

    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.

  13. Austin Matzko
    Member
    Posted 8 years ago #

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

  14. scribbler
    Member
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags