Wordpress Comment System To Power Entire Website ?

Discussion in 'WordPress' started by bluearrow, Jan 24, 2013.

  1. #1
    Is there a way get WordPress comment system to power entire Website ? Maybe a hack for their Jetpack plugin or old comment system.

    .
     
    bluearrow, Jan 24, 2013 IP
  2. iMarcus

    iMarcus Active Member

    Messages:
    122
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #2
    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?
     
    iMarcus, Jan 25, 2013 IP
  3. bluearrow

    bluearrow Well-Known Member

    Messages:
    1,339
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #3
    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.
     
    bluearrow, Jan 25, 2013 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    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.
     
    Rukbat, Jan 25, 2013 IP
  5. bluearrow

    bluearrow Well-Known Member

    Messages:
    1,339
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #5
    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 ?
     
    bluearrow, Jan 25, 2013 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    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.
     
    Rukbat, Jan 26, 2013 IP
  7. CMNS

    CMNS Well-Known Member

    Messages:
    95
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    100
    #7
    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):
     
    CMNS, Jan 27, 2013 IP