dousi8931 2017-02-22 07:10
浏览 26

是否可以在弹出窗口中显示wordpress ACF字段并手动保存

In my WordPress project admin, I created post object of custom post 'People' in custom post 'Project'.

Now when adding project if required people isn't available user should be able to add people. For this I am thinking of adding 'Add People' link which on click will show the custom fields of post 'People' in popup. On saving data, it will be selected in post object.

Is this possible? If yes how am I approach this?
I googled but not getting any idea about how to approach this?
What will be the best solution for this case? Any suggestions are welcome.

  • 写回答

1条回答 默认 最新

  • doulai5585 2017-02-22 21:24
    关注

    Sounds like you've got a custom post type of "Project" and then you're trying to find a good way of adding people to that project.

    I'm not sure if you have a custom post type of "Person" but it sounds like you might, if that's the case then the easiest approach would be to have whoever is entering data to just go and add the new person from the custom post type of person. Then have a relationship field in project linked to person.

    If Person isn't a custom post type and it's just a field (so all that you need to know is the person's name) then it might be simpler to use a custom taxonomy where a new term can be added directly from the meta box. see this doc page for more info on that.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题