• Resolved lwdigitaldesign

    (@lwdigitaldesign)


    Hi there

    I’m completely new to wordpress and tonight I created a custom theme using a very basic tutorial, the website is: Stories

    The issue I’m having is that comments are allowed for everything on the site, but the comment form does not show up for posts, but will show up on new pages only.

    This is the code I’m using:
    <?php comments_template(); ?>

    Also, we want visitors to be able to post their own travelling stories on the site. I have set new user default to contributor, how do I include a register/login on index.php or the sidebar.php?

    Any help is very much appreciated! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • it is intended that the comments form and comments do not show on the front page and in archives. i explained this here.

    however, you should be able to see comments on pages and single posts.

    to get the comment stuff to show on the front page, you would need to add a line before <?php comments_template(); ?>, i.e. change it to:

    <?php global $withcomments; $withcomments = true;
    comments_template( '', true ); ?>
    Thread Starter lwdigitaldesign

    (@lwdigitaldesign)

    Thanks Alchymyth!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comments Form Not Showing on Posts’ is closed to new replies.