I work on CMS for Education academy and we need to add data about students in small horizontal cards. I need to know how to create entity has one to many relationship and pass it to the frontend. And is it possible in WordPress or in org.
I work on CMS for Education academy and we need to add data about students in small horizontal cards. I need to know how to create entity has one to many relationship and pass it to the frontend. And is it possible in WordPress.com or in org.
Share Improve this question edited Aug 28, 2023 at 15:50 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Aug 28, 2023 at 15:06 MariamMariam 1 3 |1 Answer
Reset to default 0A high level answer is take a look at post meta: https://wordpress.org/documentation/article/assign-custom-fields/ Custom meta fields can be added and retrieved for any post/page and displayed on the front end.
Also see https://www.advancedcustomfields.com/ which runs on either wordpress.org or .com versions.
*_meta
fields available; you can add metadata to posts or to users. You'd probably be looking for a plugin, or writing one yourself; WordPress.com has limited plugins available, as I understand it, and I doubt you'd be able to upload your own code. (Someone please correct me if I'm wrong.) If you're running self-hosted (ie, ".org") you can add any plugins you'd like. – Pat J Commented Aug 28, 2023 at 16:12