Jump to content
Sign in to follow this  
tuckerg76

Putting comments on the Frontpage using Platform Pro

Recommended Posts

tuckerg76

Hi, I'm using blog layout with my site, but the comments section is missing from my front page. www.newfie-story.com I'd like the comment section to appear on frontpage, not just posts pages.

Share this post


Link to post
Share on other sites
cmunns

Typically comments are only allowed on single posts and pages because they can make the page very very long, I might reconsider this strategy, and I'm not even sure if it can be done in this way, but you would have to add this code `<?php comments_template();?>` to the template.postloop.php file where the loop ends e.g. : ` <?php pagelines_register_hook( 'pagelines_loop_post_end', 'theloop' ); //hook ?> `

Share this post


Link to post
Share on other sites
tuckerg76

Thanks for the reply. I tried it out but without luck. Code wise I tried the following. Each comment represents a single placement of course.

	
						</div>
						<?php endif;?>
	<I put your code here>
			<?php pagelines_register_hook( 'pagelines_loop_post_end', 'theloop' ); //hook ?>
	<I also tried here>
	</div>
	<and here>
	<?php
	<and here>
	endif; // End of Full-Width Post Area
	<and here>
	

Each time and each no luck. I did however notice the top of the page had a "Leave a comment' link which will accomplish the same task. I understand your point about why the comments are left to the posts/pages only. In my case the front page is only the most recent post. So I not be concerned about comments and length with that page as new posts go up often enough to keep things short. Comments on the front page would allow and encourage discussion on the recent post more easily.

Share this post


Link to post
Share on other sites
bryan-hadaway

Hmm, that would be a different beast altogether then. What you'd end up with is a big list of mixed comments for multiple latest posts that wouldn't actually be connected to the post at all. If you want to encourage interaction you could put a graphic; "Join The Conversation" linking to the latest post or if you really want to engage your readers consider something the Wibiya Toolbar: http://www.wibiya.com/ If you still want to pursue you'll need further developer help which I'm marking for their review. Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×