I’m building a site that will have 2 custom post types site and formsubmit site has instructions on how to submit the form and formsubmit saves the json response of the submission, the logic to submit forms is a local api not using WordPress the data is saved in postmeta currently,.
My question is, I don’t want to query 100 to 200 posts on a regular basis but the design I have currently pulls in all of the results because the site post type needs to be searchable. Would I be better off using comments on the post to keep tabs on submissions and save the json there, thus eliminating the child post type of formsubmit? I plan on blocking access to the data on the posts unless the comment or post belongs to the logged in user, what’s the most efficient way to accomplish this without creating tons of new queries, thanks
Best way to structure data
[ad_1]
