[Comments] How to edit the default layout for wp_list_comments? (3 posts)

  1. joaojotta
    Posted 3 years ago #


    I'm not an expert in coding so I usually follow the tutorials on how to create black WP templates and then get what I want out of that theme with CSS a a few replacements.

    The thing is I would like to change the default

    João Jotta says:
    27/03/2013 at 11:37

    but I don't know nor found how to change the following:
    <?php wp_list_comments(); ?>
    That auto "says:" and date kills me!

    Any nice fellow out there to help me out?

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    You can change that via callback in wp_list_comments()

    The best thing to do is to see the example used in Twentytwelve or Twentyeleven ( look at the wp_list_comments() in comments.php and its callback in functions.php )

    But if all you want is to not display it, just target the CSS selector and display:none that part.

  3. joaojotta
    Posted 3 years ago #

    Thanks for the reply. I'll try to follow that but I do not want to hide it, I want to change it. Something like:

    user wrote this @ 27/03/2013

    instead of the default

    João Jotta says:
    27/03/2013 at 11:37

    Let's see if I can pull it off with those tips.

Topic Closed

This topic has been closed to new replies.

About this Topic