Question About Comments (5 posts)

  1. neoricen
    Posted 9 years ago #

    Currently in my WIP theme I have
    <?php comments_template(); // Get wp-comments.php template ?>
    In my 'Loop'

    This works Ok I suppose except I want to change things like font size and layout and when using that tag the Comment text box is way too big.

    How to I make my own Comments template and how do I call to it?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    It would probably be easier just to change the way the current one looks by changing the css - and we can help with that :) If you made your own you'd need to use css anyway.

    What would you like to change and how would you like it to be different?

  3. neoricen
    Posted 9 years ago #

    Well I'd like to change a bunch of stuff however I have no idea where to do that because I don't know where the template for it is (the CSS for it isn't in my CSS either) so I figured it would be easier to start fresh.

  4. Kafkaesqui

    Posted 9 years ago #

    comments_template() uses the theme's comments.php file ('Comments' under the theme editor). If a theme does not have this, WordPress uses the comments.php from the default theme.

    If the latter is the case with your theme, best first step is to copy the default's comments.php to your theme.

  5. neoricen
    Posted 9 years ago #

    Thanks alot, that's what I needed.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.