add_filter( ‘generate_comments_title_output’, function( $output, $comments_title ) {
return sprintf(
‘<h3 class=”comments-title”>%s</h3>’,
esc_html( $comments_title )
);
}, 10, 2 );
Where this code has to be added?
for making h4 headings I will have add in this way or else:
add_filter( ‘generate_comments_title_output’, function( $output, $comments_title ) {
return sprintf(
‘<h4 class=”comments-title”>%s</h4>’,
esc_html( $comments_title )
);
}, 10, 2 );
Also, tell me how to change ‘2 THOUGHTS ON “XYZ”‘ to h4, which appear after someone comment on our post…
-
This reply was modified 4 years, 6 months ago by rahulpatil72.
-
This reply was modified 4 years, 6 months ago by rahulpatil72.
-
This reply was modified 4 years, 6 months ago by rahulpatil72.