WordPress.org

Ready to get started?Download WordPress

Forums

Comments on blog PAGES (5 posts)

  1. FaraazWCH
    Member
    Posted 6 years ago #

    Hello,

    I wanted to be able to allow users to comment on a blog page. Can I make this possible?

    Thanks!

  2. moshu
    Member
    Posted 6 years ago #

    Yes, edit your Page template(s). The default should be page.php.

    See how the comments-link and the comments template are called in the index and/or single.php.

  3. FaraazWCH
    Member
    Posted 6 years ago #

    I should clarify, I'm absolutely dense when it comes to editing this stuff.

    What should I be adding?
    Thanks!

  4. FaraazWCH
    Member
    Posted 6 years ago #

    Ok,

    I added
    <?php comments_template(); ?>

    After
    <?php while (have_posts()) { the_post(); ?>

    But, the comment box shows at the top. How can I fix this... Here is what it looks like:

    <?php get_header(); ?>
    
    <div class="content">
    	<div id="primary">
    		<div id="current-content">
    			<div id="primarycontent" class="hfeed">
    
    				<?php while (have_posts()) { the_post(); ?> <?php comments_template(); ?>
    				<div id="post-<?php the_ID(); ?>" class="<?php k2_post_class(); ?>">
  5. moshu
    Member
    Posted 6 years ago #

    It's in wrong place. It should come AFTER the_content tag somewhere.
    You may have a better support for your theme in the k2 forum.

Topic Closed

This topic has been closed to new replies.

About this Topic