在 wordpress PHP 中创建提交表单

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7993249/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 03:44:03  来源:igfitidea点击:

To create a submit form in wordpress PHP

phpwordpress

提问by seeTheObvious

I am new to wordpress. I just had installed wordpress also I had went through HelloDolly plugin and its code. I would like to make a page which contains a submit form .Upon submitting the data should be inserted to db into any table. How should i do this,Where should i start,Pleas Help..THanks

我是 wordpress 的新手。我刚刚安装了 wordpress,还浏览了 HelloDolly 插件及其代码。我想制作一个包含提交表单的页面。提交数据后,应将数据插入到数据库中的任何表中。我应该怎么做,我应该从哪里开始,请帮助..谢谢

采纳答案by Riz

Thiscould be your starting point. Hereis best source of learning for wordpress.

可能是您的起点。 是 wordpress 的最佳学习来源。

Examples:

例子:

Contact form without plugin

没有插件的联系表

Create a Custom WordPress Plugin From Scratch

从头开始创建自定义 WordPress 插件