I’ve a customized publish sort configured for “Program”, and every program will include info for a number of “Areas”, for instance “Area 1” and “Area 2”- and every Area can have the identical set of fields. On the Program element view template (i.e. the entrance finish), I’ll characteristic a toggle to modify between views exhibiting information for every area and, ideally, I would like to make use of Ajax to switch the question and refresh the info that is displayed. My query revolves round how greatest to construction this information in WordPress- I understand I may use Superior Customized Fields and create a repeater area related w/ the Program customized publish sort for “Area” w/ sub-fields for every bit of knowledge, but when I am going that route, I do not suppose I would be capable to alter the question through Ajax in the way in which I’ve described, however quite simply must loop over the repeater and basically use the toggle to indicate/cover information on the web page by area.
I suppose I may additionally create separate Program posts for every area, outline the area by a customized taxonomy, after which use Ajax to switch the question by taxonomy time period for Area, however this may create redundancy in that Packages for every area would share their very own set of knowledge, in order that additionally does not look like the very best method.
Thus, I am questioning if anybody has some other solutions for the way greatest to construction this information when it comes to publish varieties, taxonomies and fields to realize the specified organization- basically, sub-posts inside a publish sort, if that is sensible. Thanks for any perception right here!