• Hey all,
    first off let me show you my comments.php here http://pastebin.com/qb5FpQmV

    Now, as the title says, I am really wondering (and I am a bit concerned as I am within a tight time-schedule) how to enable the reply-link on each comment.

    I tried including wp_list_comments() in my file, but as soon as I did all my layout and styling broke (as my comment’s structure is different). I have also enabled this code on my header.php and the according code inside of functions.php

    Any ideas? I would definitely appreciate some support!
    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter crozer

    (@crozer)

    Anybody please?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I tried including wp_list_comments() in my file, but as soon as I did all my layout and styling broke (as my comment’s structure is different)

    Why not restyle the wp_list_comments() output then? It’s all CSS-able so you should be able to do a lot. What’s so special?

    (I’m not really inclined to reinvent the wheel when it works so well as is 🙂 )

    Thread Starter crozer

    (@crozer)

    Because it is sadly not only CSS. There are a few terms and words I have added to my comments. So if I would have access to the source of wp_comments_list to edit it from there, I could avoid all this asking around and going insane 🙁

    I searched within the comments-template.php file but did not find the structure/layout of the comments ;(

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You should be able to apply some changes to the comments section with functions.

    What, specifically, are you adding? There may be better ways then recoding 🙂

    Replace <ol class....>... </ol>in your comments.php with

    <ol class="commentlist">
    <?php
    	$args = array(
    	'callback' => 'mytheme_comment'
    	);
    	wp_list_comments($args);
    ?>
    </ol>

    Then add the function mytheme_comment to your functions.php and customize your comment display from there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to REALLY enable reply link on comments?’ is closed to new replies.