Jump to content

Archived

This topic is now archived and is closed to further replies.

brightonkeller

Is there a way to place COMMENT form WITHIN the content postloop?

Recommended Posts

brightonkeller+    0
brightonkeller

Right now, in order for a reader to comment, they must visit the permalink and comment on that page. Is there a way to have the comment count only displayed underneath the post (within the postloop) and then a place to leave a comment WITHIN the postloop??

 

see this link for example --> http://pinkpeonies.com/blog/page/2/#

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Brighton, you have the add comment link that can be added to the metabar within the blog page, but clicking on this will still take the user to the single post page. Do you mean you want the comment form to appear on the blog page under each entry/excerpt when that button is clicked rather than it redirecting to the single post? So the user stays on the blog page the entire time throughout the process?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

This has been mentioned in the past and to be honest, no blogging platform being Wordpress, Ghost, Blogger etc... offer this kind of functionality.

 

If you add a comments form to your Blog page, two things are going to happen.

 

1. Your blog page will become insanely long even with only a few posts (depending on length of course).

2. Readers won't be reading your full posts unless you set your posts to display that way, which will cause #1 anyway.

3. You will be loading multiple comments forms, depending on the number of posts you display per page.

 

You may be able to do this via a hook, but I would highly recommend against it. I have never seen a blog or news site that provides this functionality.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
brightonkeller+    0
brightonkeller

James B yes that is exactly what I want to do!!! and Danny, I wouldn't be displaying all the comments - just the form! And my readers already do read my entire post because they like to scroll as opposed to opening in a new window (permalink) anyway. I display full post content on my homepage rather than excerpt!

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Brighton, ah cool I see. Unfortunately it's not an option that's included automatically, but as Danny said it could be included as a hook at the end of the post. I would imagine looking at actionmap you'd need to look at the hooks loop_end or PageLines_inside_bottom_postloop to get it to appear at the end of each post - http://screencast.com/t/frJuyYrV


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

  • Similar Content

    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

    • richardjacruz
      By richardjacruz+
      I'm building a website in a dev environment at http://162.144.182.17/~uescocra.
      I want to import a bunch of products, and then have the products have a different template than the default template. 
      I also want to change the default template for blog posts.
      Before I go making changes, can I do this where the post type of "products" has its own global template, and the same with blog posts?
      For instance, in a product I might want to have a widget for categories, similar products, etc., and in the blog I may want list of the latest posts, blog categories, link to an email sign-up landing page, etc.
      Thanks.
      Rich
    • abuzzelli
      By abuzzelli+
      Is there a shortcode or a way to automatically pull the site name into the footer or elsewhere?
    • PeriniNero
      By PeriniNero+
      We are building a Custom Post Type with Custom Fields and Custom Taxonomies.
      The only thing we dont understand is how to embed the Custom Fields including header tags and stuff in the Postloop (now we use a text-box below the postloop section but also SEO wise this is not best pratice).
      So we thought to copy the dms Postloop section to our child theme and rename this, to add an extra Postloop section to our theme. Is this the way?
      What exactly to adjust in those 3 files class.posts.php, section.php and style.less (at this point we know how to change the thumb LOL) and where to add the Custom Fields shortcodes?
      Thanks.
×