Customizing comment author
-
Hi Ben,
When users enter comments (Period Pro), they get to enter their name, email, website, and of course the comment itself. I’d like to collect all of that, but when rendering the comment, I don’t want the default behavior of Period, which is to link the name to the website (if entered).
I notice that for the comments section, you already customize the rendering with
ct_period_customize_comments(...)
where you have the appropriate call to render the linked name:<span class="author-name"><?php comment_author_link(); ?></span>
Since that is in the functions.php of the theme, what’s the best way for me to customize it in my child theme? Essentially, I want to change that one line to:
<span class="author-name"><?php comment_author(); ?></span>
Thanks much!
Dan
- The topic ‘Customizing comment author’ is closed to new replies.