WordPress.org

Ready to get started?Download WordPress

Forums

-?- About A Custom Comments Page(Sub Page Perhaps)....? (6 posts)

  1. mooapo
    Member
    Posted 1 year ago #

    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

  2. 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.

  3. mooapo
    Member
    Posted 1 year ago #

    Hi Christine !

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

  4. 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.

  5. mooapo
    Member
    Posted 1 year ago #

    I was thinking that, thanks !

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

  6. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.