{"id":11580794,"date":"2019-05-28T16:04:04","date_gmt":"2019-05-28T16:04:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-function-replace-headline-tags-in-comments\/"},"modified":"2019-05-29T09:58:35","modified_gmt":"2019-05-29T09:58:35","slug":"custom-function-replace-headline-tags-in-comments","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-function-replace-headline-tags-in-comments\/","title":{"rendered":"Custom function: Replace Headline Tags in Comments"},"content":{"rendered":"<p>Dear WordPress community,<\/p>\n<p>there are to places in the comments where the comment sections give out H3 headline tags. I want to convert them to normal text \/ div \/ span for SEO reasons.<\/p>\n<p>1) If there is a comment: \u201cX Comments for \u2018Article X\u2019\u201d (H3)<br \/>\n2) Everytime: \u201cWrite a comment\u201d (H3)<\/p>\n<p>Is there a way to write a custom function and wrap the headlines in new tags?<\/p>\n<p>Thanks so much!<\/p>\n<p>Best,<br \/>\nDavid<\/p>\n","protected":false},"template":"","class_list":["post-11580794","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11580794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11580794\/revisions"}],"predecessor-version":[{"id":11583461,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11580794\/revisions\/11583461"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11580794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}