• WordPress comment links are generated on this pattern: #comment-#####

    Where ##### is the id of the comment.

    Where is this string generated?

Viewing 1 replies (of 1 total)
  • It’s generated in comments.php near the bottom of the template wherein wrapper div per comment is made e.g. in stripped form – see <?php comment_ID() ?>

    <div id="comment-<?php comment_ID() ?>">
    <div class="commentdetails">
    etc etc etc
    <?php comment_text() ?>
    </div>
Viewing 1 replies (of 1 total)
  • The topic ‘Where are the comment permalinks generated?’ is closed to new replies.