• Hi,

    I’m searching for the template, where I can find the following code:

    <h3 id="reply-title" class="comment-reply-title">

    I want to change the <h3> tag of “Leave a reply” into <p> for SEO purposes. I have searched all templates, functions.php and scripts 3 times and cannot find it.

    Thanks for help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The comment templates are handled by functions contained in the functions.php file, have you had a dig around in there?

    Thread Starter anyway

    (@sfdsfwer)

    Yes, I had… a couple of times. No <h3> in there.

    Thanks for the quick reply!

    Thread Starter anyway

    (@sfdsfwer)

    Okay, I’ve checked again. Inside the functions-php is definitely no h3. All I can find is:

    'title_reply' => '<legend>' . __( 'Leave a reply', 'the-bootstrap' ) . '</legend>',

    Where the magic happens?

    Will be working on a Bootstrap theme this week so I will check it out as soon as I can, sorry I haven’t had a chance to look further into it yet.

    Thread Starter anyway

    (@sfdsfwer)

    Thank you for coming back, Brad! In the meantime I found out, that the element is hardcoded in the wp-includes/comment.php file, but after extensive research I still have no solution for that. The h3 tag is not part of the array.

    Best option in that case would be to make your own custom comment.php template file and/or function.php in your child theme.

    Helpful resouces:
    Function/Reference/comment form
    function Reference/wp- list comments

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot find’ is closed to new replies.