Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #20465

    Hello,

    I am building a section of my website which needs comments on pages. I know this is possible on a normal wp install, so I am guessing on my flashlight theme this is disabled.

    I am not sure this was something I myself disabled or if this is coming from the theme itself.

    In anycase, how can I activate it?

    eg: http://www.lavillenue.fr/nous

    #107738

    Open up page.php and replace following code:

    get_template_part( 'includes/loop', 'page' );

    with:

    get_template_part( 'includes/loop', 'page' );

    //wordpress function that loads the comments template "comments.php"
    comments_template( '/includes/comments.php');

    #107739

    Hi dude, I think you made a mistake for its the same code on top and on bottom.

    Should it say comments/loop instead of includes/loop?

    (I’ve seen other posts and you’re always very helpful, thanks a lot in advance)

    #107740

    Hey!

    I just used the code from single.php and I’d be surprised if it doesn’t work in page.php :)

    Best regards,

    Peter

    #107741

    Dude,

    *what* should I replace with *what*?

    In your original comment, both snipets are exactlly the same.

    #107742

    Hi!

    ?? No – the second snippet contains additional code (comments_template() function)…

    Regards,

    Peter

    #107743

    Oh, You’re right! I thought that was all part of the same comment. Sorry about that.

    thanks!

    #107744

    Hey!

    Glad that I could help you :)

    Best regards,

    Peter

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Commenting on pages’ is closed to new replies.