• How can i add comment form in every page? currently my visitors can only comment in the home page. I want to have it in every page? Pls help. Thank you.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter mariz_pt

    (@mariz_pt)

    Ifound the answer to this…

    I just have to add this code:

    <?php comments_template(); ?>

    It will look like this:

    <?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>
    <?php comments_template(); ?>
    </div>
    <?php get_footer();?>

    Post a link to your site so people can see what is going on.

    Help. What about inserting comment only in selected page?

    <?php if (is_page(2)) {
    comments_template();
    }
    ?>

    where 2 represents the ID of the page you want the comment to appear for, for multiple pages

    <?php if (is_page(2,10, 101)) {
    comments_template();
    }
    ?>

    thanks.

    Say I have a photo album, at the following url:

    http://test.site.com/blog/pics/?album=1&photo=2

    How could I add the comment form to just those photos? I’m trying to create something similar to how Myspace adds comments to their photos in a user’s photo album.

    Thanks,

    Groq

    i’m very new with wordpress. how do i have a comment form appearing in every page/post, for now one has to log in “You must be logged in to post a comment.”. i am at andrewmatoke.wordpress.com

    thanks

    Hello all, So where do I change these lines?
    My guess is in the ”wp-comments-post.php’ but I don’t regocnize the script.

    Thanks,

    Robert

    LJagermaster

    (@the-living-legend)

    This might be just what I’m looking for, I only wish the person who started this thread would do the decent thing and stop hoarding information! :-p

    mkeckler

    (@mkeckler)

    Thank you so much! This worked great.

    this code is great.

    But how to i center the comment form – on my page the form is well over to the right???

    http://stevehaworth.net/my-album

    appreciate some help here

    I am completely lost! I want to add the basic comment form to each post page and I simply cannot figure out how to do it. I’ve read the page http://codex.wordpress.org/Styling_Theme_Forms and that has that nice code and even a nice picture of the comment field but I simply cannot figure out what to do. Can you please break this down into steps? Thanks, Jane

    Follow up to my earlier comment:
    What I want is for people viewing my posts and blog to not have to log in every time they want to post something. I’m finding many people really like the blog and then they email me their comments, so the comments never get officially posted. They don’t want to have to go to the trouble of logging in, creating a username and password, etc. And I don’t care if they do. So I’d like something simple so they can just add a post and I’m thinking that this Akimet will weed out spam, correct?

    I got it. I go to Appearance, Discussion, and UNCHECK “Users must be registered and logged in to comment”. Then the comment box appears! Wow.

    But the thing is that NOW we administrators have to LOG IN through the MYBLOG/wp-admin URL.

    I will try to help. key word is try πŸ˜‰

    put this “code”:

    <?php comments_template(); ?>

    at the bottom of these files:

    1 page.php
    2 single.php

    these 2 files are located at

    ~/domain/wordpress/wp-content/themes/theme/

    add the “code” without the quotes, after the last <div> , right before <?php get_footer(); ?>

    this is what worked for me.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How to Add Comment form in every page?’ is closed to new replies.