{"id":4229879,"date":"2013-10-17T14:14:03","date_gmt":"2013-10-17T14:14:03","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-theme-support\/"},"modified":"2016-08-21T06:09:29","modified_gmt":"2016-08-21T06:09:29","slug":"adding-theme-support","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-theme-support\/","title":{"rendered":"Adding theme support"},"content":{"rendered":"<p>My comments are structured as follows, in comments.php:<\/p>\n<pre><code>&lt;?php foreach($comments as $comment) : ?&gt;\n\t\/\/lots of code here\n\t&lt;?php comment_text() ?&gt;\n\t\/\/lots of code here\n        &lt;?php do_action( &#039;comment_report_abuse_link&#039; ); ?&gt;\n  &lt;?php endforeach; ?&gt;<\/code><\/pre>\n<p>(I don&#8217;t actually have a reply link at all, because it&#8217;s a very customized theme.)<\/p>\n<p>I get the message &#8220;Wrong usage of print_flagging_link().&#8221;<br \/>\nWhen I added the rest of the code to functions.php, I just got the message twice instead of once.<\/p>\n<p>I&#8217;m probably also going to have to customize the html of the link.<br \/>\nIs there another way to construct the Flag link?<\/p>\n<p>Thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/safe-report-comments\/<\/p>\n","protected":false},"template":"","class_list":["post-4229879","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4229879","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4229879\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4229879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}