{"id":6051344,"date":"2015-04-23T22:29:37","date_gmt":"2015-04-23T22:29:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-child-post-type-as-repetitive-fields\/"},"modified":"2016-08-24T15:07:50","modified_gmt":"2016-08-24T15:07:50","slug":"using-child-post-type-as-repetitive-fields","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-child-post-type-as-repetitive-fields\/","title":{"rendered":"Using child post type as repetitive fields"},"content":{"rendered":"<p>I created a parent and child post and am using child post to create repetitive fields in parent post.<\/p>\n<p>It was working fine and I added couple of conditions and now whenever I click on Add I just keep getting the loading icon. If I refresh the post then that child post is added fine &#8211; so its just about some ajax refresh breaking in a very particular case (or so it seems to me)<\/p>\n<p>The whole installation  is at localhost so issue is definitely not due to network connection. The condition logic in field group for child post I applied was if var1 is checked then show var<strong>11<\/strong> else show var12 and va13. While defining in Types interface var1 is defined before var11, 12 and 13<\/p>\n<p>https:\/\/wordpress.org\/plugins\/types\/<\/p>\n","protected":false},"template":"","class_list":["post-6051344","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6051344","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\/6051344\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6051344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}