{"id":17833927,"date":"2024-06-18T18:45:41","date_gmt":"2024-06-18T18:45:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/product-count-html-error\/"},"modified":"2024-06-18T19:10:07","modified_gmt":"2024-06-18T19:10:07","slug":"product-count-html-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/product-count-html-error\/","title":{"rendered":"Product count html error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When adding &#8220;product count&#8221; to either the horizontal, vertical or column layout the html output is wrong, there is missing &lt;p&gt; tag which results in displaying the span below the label&#8230;. How can I fix this i need to show the total product count per category. When hiding the total product count there is still a floating &lt;\/p&gt; tag without the starting &lt;p&gt;&#8230;. View source to see what I&#8217;m talking about. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve also added margin-top: -100px because when adding the widget to the sidebar it adds a large space above, no idea why it does that&#8230;. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for your help.<\/p>\n","protected":false},"template":"","class_list":["post-17833927","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17833927","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":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17833927\/revisions"}],"predecessor-version":[{"id":17833974,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17833927\/revisions\/17833974"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17833927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}