Is there a way get WordPress comment system to power entire Website ? Maybe a hack for their Jetpack plugin or old comment system. .
I think you would need to create some posts first, as comments are an attachment of a post. You can create comments automatically via code as well as posts so perhaps something could be done. What are you thinking of doing?
I have a static site which has a blog as a part of it. So I want to use commenting system for these static pages too. Don't want to use Facebook or other third party systems. I wonder if there is a way to do if I can find the files which need to be call from Jetpack or WP Core. Since all files in same domain it shouldn't be a problem.
You want to add comments to static pages? They're called static because they never change. If you want to add comments to them you'll have to convert them to dynamic pages - pages that have content pulled from the database. Then you can pull the latest comment, the last 5 comments, etc., whatever you want, from the WP database and put them on those pages.
lol you have never seen a static page has dynamic processes/scripts ? The page itself static doesn't mean you can do an dynamic process inside the page. Static pages calls like that because these are physical pages not dynamically made by a process. You have never seen scripts running in "static" pages ?
The page itself static doesn't mean you can do an dynamic process inside the page. Static pages calls like that because these are physical pages not dynamically made by a process. You have never seen scripts running in "static" pages ?[/quote]There's a difference between a static page with a static process (which is what hard-coded script on a page is) and a page created on the server that changes when the underlying data on the server (the WP comment, in this case) changes. I'm not assuming that the OP has 5 years experience developing websites.
So, what do you mean by "static page" here? A page you create from the "Pages" menu? If so, simply add this code to your "page.php" file, right after your content. <?php comments_template(); ?> Code (markup):