Forums

Allowing comments on Home.php (3 posts)

  1. Nathan Parikh
    Member
    Posted 3 years ago #

    Hey all,
    I know how to allow comments on page templates, but need some guidance on how to allow commenting on the home.php file.
    I know I need to start the wordpress query or loop but just can't figure it out.
    Thanks!

  2. Nathan Parikh
    Member
    Posted 3 years ago #

    ok I found one way to fix the problem, just make the home.php file a page template, create a page with Home as the template, and through the dashboard under Settings>Reading make that page the home page.

    Still wondering what the php would be so I could just hardcode it though....

  3. Zambrano Sergio
    Blocked
    Posted 2 years ago #

    [SOLVED] To display comments on the main index or archive pages, you'll need to set the $withcomments variable to "1" before calling this tag.

    (from http://codex.wordpress.org/Include_Tags#The_Comments_Template )

Topic Closed

This topic has been closed to new replies.

About this Topic