admin管理员组文章数量:1134247
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.
本文标签: 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 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736823631a1954395.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
*_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