Site logo

Archived topic

Modify comment box

5 replies · Started by Samuel on March 2, 2020

Viewing posts 1–6 of 6

I have read some posts here in the forum, but I cannot find the solution to my problem.

I wanna put some HTML Text between the Titel and the Box: https://www.screencast.com/t/hux3unfKSV

I use this code:

add_filter('generate_leave_comment','generate_custom_filter_name');
function generate_custom_filter_name()
{
      return 'Say this instead';
}

But this change only the Titel.
What can I do so that I can insert text there?

Thanks! It work fine!

I check out the visual guide, but cant find comment_form_top

How can i find or define the Custom Hook?

comment_form_top is a Hook within the WordPress comments function, not a Theme Hook.
The Simply Show Hooks plugin is really handy to find what other hooks are on a page.

resolved. thx!

You're welcome

This archived topic is closed to new replies.