{"id":17540028,"date":"2024-03-30T19:04:06","date_gmt":"2024-03-30T19:04:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dynamic-load-comments-button\/"},"modified":"2024-03-30T19:04:06","modified_gmt":"2024-03-30T19:04:06","slug":"dynamic-load-comments-button","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dynamic-load-comments-button\/","title":{"rendered":"Dynamic &#8220;Load Comments&#8221; button"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When using &#8220;On Click&#8221; option, it would be nice to have the following behaviour:<\/p>\n\n\n\n<ul>\n<li>no existing comments: there should be text &#8220;Leave a comment&#8221; on the button which should display comment form<\/li>\n\n\n\n<li>some comments already exist: there should be &#8220;Show Comments (%d)&#8221; button having number of comments.<\/li>\n<\/ul>\n","protected":false},"template":"","class_list":["post-17540028","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17540028","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\/17540028\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17540028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}