{"id":18794336,"date":"2026-01-22T04:45:39","date_gmt":"2026-01-22T04:45:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/use-on-a-category-template\/"},"modified":"2026-01-22T04:45:39","modified_gmt":"2026-01-22T04:45:39","slug":"use-on-a-category-template","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/use-on-a-category-template\/","title":{"rendered":"Use on a Category Template"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This plugin is incredibly useful for creating custom templates with feeds of Repeaters and Relationships.  It works great on a Post template.  But it doesn&#8217;t seem to work on a Category template.  Here are my steps:<\/p>\n\n\n\n<ul>\n<li>Create an ACF field group that has a Relationship field in it and show the field group if the Taxonomy is equal to Category.<\/li>\n\n\n\n<li>Edit a category and select a post in the Relationship field.<\/li>\n\n\n\n<li>Create an Archive template and have it show when Categories.  Add a Loop Grid, select ACF Relationship as the Source, and select the Relationship field created for the Category and save.<\/li>\n\n\n\n<li>Go to the the Category page that has the Relationship field set. It shows nothing (Nothing Found).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As said, I&#8217;ve confirmed that it works if I create a Relationship field on a field group that is used for Posts and display a Loop Grid on a post page.  But it doesn&#8217;t seem to work for a Category page.  Not sure why it would make a difference&#8230; Let me know if you can reproduce the issue.<\/p>\n","protected":false},"template":"","class_list":["post-18794336","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18794336","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\/18794336\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18794336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}