Forums

how i add comment code? (5 posts)

  1. sandbad
    Member
    Posted 1 year ago #

    i want comments show on my page by default.i red i must add this link to make comment appear this is the link <?php comments_template() ?> I WANT TO KNOW HOW exactly add this link ?? because im beginner in php code
    this is my web site http://www.ancientbabyloncivilization.com

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You need to add this at the end of the Loop.

  3. sandbad
    Member
    Posted 1 year ago #

    thanks for your answer but i need more detail because im new in php language and wordpress.where the loop located ?

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    the loop:
    http://codex.wordpress.org/The_Loop

    for (static) pages, this could be in page.php (details depend on your theme)

    you could add <?php comments_template(); ?> before the <?php endwhile; ?> of the loop.

    by default and for good reasons, wordpress does not enable comment form or comments on 'multi-post' pages such as the front page or archive pages.

  5. sandbad
    Member
    Posted 1 year ago #

    THANK VERY MUCH .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags