简体   繁体   English

如何创建将数据存储在wordpress中并在管理面板中显示的自定义表单

[英]how to create a custom form who store data in wordpress and display in admin panel

I am working on a task where my client is required a long contact form with multiple and different fields and the real task is to obtain the data from user and store in wordpress and display this data in wordpress admin panel where my client is able to see data or even filter. 我正在执行一项任务,要求我的客户与多个不同字段的长期联系表,而真正的任务是从用户获取数据并将其存储在wordpress中,并在wordpress管理面板中显示此数据,以便我的客户能够看到数据甚至过滤器。

please friends if you know any tutorial related to my subject. 请朋友,如果您知道任何与我的主题有关的教程。 please let me know. 请告诉我。

Thank you, 谢谢,

there is no need to go with plugins always, try to create your own, that is good for your practice and more flexible to your custom requirements. 无需总是使用插件,而是尝试创建自己的插件,这对您的实践有好处,并且可以更灵活地满足您的自定义要求。

Here is a simple tutorial for you, 这是一个简单的教程,

http://kvcodes.com/2014/06/how-to-create-custom-forms-in-wordpress-without-using-plugins/ http://kvcodes.com/2014/06/how-to-create-custom-forms-in-wordpress-without-using-plugins/

Have you looked at User data plugins? 您是否看过用户数据插件?

http://wordpress.org/extend/plugins/cimy-user-extra-fields/ http://wordpress.org/extend/plugins/cimy-user-extra-fields/

http://wordpress.org/extend/plugins/extra-user-details/ http://wordpress.org/extend/plugins/extra-user-details/

In my opinion you'll be best off creating a custom plugin for WordPress http://codex.wordpress.org/Writing_a_Plugin , Use PHP to query the database for the users information filters you select on the admin panel. 我认为,最好为WordPress创建自定义插件http://codex.wordpress.org/Writing_a_Plugin ,使用PHP在数据库中查询在管理面板上选择的用户信息过滤器。 This should be simple but effective. 这应该简单但有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM