admin管理员组文章数量:1130349
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.
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-
It all depends. WordPress has
*_metafields 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 - can you please recommend a powerful plugin based on your experience. – Mariam Commented Aug 30, 2023 at 6:15
- Not really, because generally I've just written what I need. I've used CMB2 extensively as a handy library; others on this site use ACF a lot, but I've got 0 experience with it. – Pat J Commented Aug 30, 2023 at 14:27
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.
本文标签: pluginsHow to add entity in WordPress that have metadata such as nameage
版权声明:本文标题:plugins - How to add entity in WordPress that have metadata such as name, age 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1736823630a1436916.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


*_metafields 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