{"id":19036680,"date":"2026-10-05T11:11:01","date_gmt":"2026-10-05T11:11:01","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/filter-display-liked-posts-by-category\/"},"modified":"2026-10-05T11:11:01","modified_gmt":"2026-10-05T11:11:01","slug":"filter-display-liked-posts-by-category","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/filter-display-liked-posts-by-category\/","title":{"rendered":"Filter display liked posts by category"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello again, I just realised I needed to display the top liked posts filtered by category as well and I&#8217;m not sure how to do that. So I tried seeing if the built in query loops can sort by custom field parameters since it was mentioned that &#8220;the like count of each post is stored in the post meta field <code>_oacs_spl_post_like_count<\/code> &#8221; But when I view the post&#8217;s custom meta fields in the meta boxes at the bottom of the post editor, there&#8217;s no custom field listed that says <code>_oacs_spl_post_like_count<\/code> . Am I misunderstanding and not looking in the right place?<\/p>\n","protected":false},"template":"","class_list":["post-19036680","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19036680","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\/19036680\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19036680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}