Support » Themes and Templates » -?- About A Custom Comments Page(Sub Page Perhaps)….?

  • Hello !

    I have another question in respect to a Custom Comments Page.

    I was wondering, what steps am I to take? Am I to create a Custom Comments Template, then create a Sub Page for the Blog Page using the Custom Comments Template? Am I close?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    What would custom comments be?

    Comments are normally associated with pages and blog posts. If you write any post or page, there’s the option to have comments.

    Hi Christine !

    I want to disable comments on all my posts on my blog page, but have another page where people can comment.

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    In your theme template, if you look at your theme, you will find this function.

    <?php comments_template(); ?>

    That’s the code that generates the comments.

    In your theme you could make a custom template called page-comments.php which has this function in it and you can then remove it from your page.php.

    That would be a good option if you’re building a custom theme.
    If you are using a theme which might get updated by the developer at a later date, then you may want to make a child theme instead.

    I was thinking that, thanks !

    One thing though, how would I go about linking to it? I custom link?

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    One thing though, how would I go about linking to it? I custom link?

    Not sure what you mean about linking it… but

    The custom template will appear in your list of template dropdowns on the right hand side. You just need to select it for that page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘-?- About A Custom Comments Page(Sub Page Perhaps)….?’ is closed to new replies.