Title: Comment On Post!
Last modified: August 21, 2016

---

# Comment On Post!

 *  Resolved [Carl Fox](https://wordpress.org/support/users/carl-fox/)
 * (@carl-fox)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/comment-on-post/)
 * Hi Eric,
 * Love the simplicity of this plugin.
 * I have used it to add a full post into a page and would like to now allow the
   use of the comments feature on that post as well, but I’m unsure if I can make
   this work.
 * [This is the page in question!](http://georgianorthodoxchurch.ie/georgian-cookery/)
 * Currently, when I click on ‘Leave a comment’, it jumps off to another ‘page’,
   which is not the intention (I would like it to stay where it is).
 * Can I achieve this?
    Am I asking too much? Any advice would be greatly appreciated,
   thanks, Carl.
 * [http://wordpress.org/extend/plugins/posts-in-page/](http://wordpress.org/extend/plugins/posts-in-page/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Carl Fox](https://wordpress.org/support/users/carl-fox/)
 * (@carl-fox)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/comment-on-post/#post-3756741)
 * Hi Eric,
 * Due to the site being constantly updated the appearance mentioned above has changed,
   however, I would still like to achieve the stated result (comment on posts-in-
   a-page without leaving that page).
 * Maybe this will clarify even further, what I would like is to put a few posts
   into a page, one after the other, with each of those posts having a comments 
   section underneath it.
 * Anybody with any advice here would be greatly welcomed,
 * Thanks,
 * Carl.
 *  Plugin Author [Eric Amundson](https://wordpress.org/support/users/sewmyheadon/)
 * (@sewmyheadon)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/comment-on-post/#post-3756855)
 * Hey Carl,
 * Thanks for your patience in receiving a reply.
 * Okay, so this is a question I haven’t had before, but I do believe it’s possible.
   It may depend a bit on your theme.
 * **Step 1
    
   First thing I’d do is copy the posts_loop_template.php file from your
   posts-in-page plugin directory to your theme folder.
 * **Step 2
    
   Then, open your new file and you’ll see something like this:
 *     ```
       <!-- NOTE: If you need to make changes to this file, copy it to your current theme's main
       	directory so your changes won't be overwritten when the plugin is upgraded. -->
   
       <!-- Start of Post Wrap -->
       <div class="post hentry ivycat-post">
       	<!-- This is the output of the post TITLE -->
       	<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
   
       	<!-- This is the output of the EXCERPT -->
       	<div class="entry-summary">
       		<?php the_excerpt(); ?>
       	</div>
   
       	<!-- This is the output of the META information -->
       	<div class="entry-utility">
       		<?php if ( count( get_the_category() ) ) : ?>
       			<span class="cat-links">
       				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
       			</span>
       			<span class="meta-sep">|</span>
       		<?php endif; ?>
       		<?php
       			$tags_list = get_the_tag_list( '', ', ' );
       			if ( $tags_list ):
       		?>
       			<span class="tag-links">
       				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
       			</span>
       			<span class="meta-sep">|</span>
       		<?php endif; ?>
       		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
       		<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
       	</div>
       </div>
       <!-- // End of Post Wrap -->
       ```
   
 * You’ll see the comments_popup_link function – I’d toast that and add the comments
   template function:
 * [http://codex.wordpress.org/Function_Reference/comments_template](http://codex.wordpress.org/Function_Reference/comments_template)
 *     ```
       <!-- NOTE: If you need to make changes to this file, copy it to your current theme's main
       	directory so your changes won't be overwritten when the plugin is upgraded. -->
   
       <!-- Start of Post Wrap -->
       <div class="post hentry ivycat-post">
       	<!-- This is the output of the post TITLE -->
       	<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
   
       	<!-- This is the output of the EXCERPT -->
       	<div class="entry-summary">
       		<?php the_excerpt(); ?>
       	</div>
   
       	<!-- This is the output of the META information -->
       	<div class="entry-utility">
       		<?php if ( count( get_the_category() ) ) : ?>
       			<span class="cat-links">
       				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
       			</span>
       			<span class="meta-sep">|</span>
       		<?php endif; ?>
       		<?php
       			$tags_list = get_the_tag_list( '', ', ' );
       			if ( $tags_list ):
       		?>
       			<span class="tag-links">
       				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
       			</span>
       			<span class="meta-sep">|</span>
       		<?php endif; ?>
       		<?php comments_template(); ?>
       		<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
       	</div>
       </div>
       <!-- // End of Post Wrap -->
       ```
   
 * Note – this will also embed the actual comments in the page too. Not my favorite
   setup, personally, but I hope that helps.
 * Eric

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comment On Post!’ is closed to new replies.

 * ![](https://ps.w.org/posts-in-page/assets/icon-256x256.png?rev=1596190)
 * [Posts in Page](https://wordpress.org/plugins/posts-in-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-page/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [full posts](https://wordpress.org/support/topic-tag/full-posts/)

 * 2 replies
 * 2 participants
 * Last reply from: [Eric Amundson](https://wordpress.org/support/users/sewmyheadon/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/comment-on-post/#post-3756855)
 * Status: resolved