Register Now


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Add question


Register Now

Thank you for registering with WPTricks

WordPress Plugin Development Part 4 | How to WordPress Tutorial

#wordpress #wordpressTutorial #wordpressPlugin
WordPress Plugin Tutorial to Connect to a Database. In this tutorial, I show you how to easily add data to a database using 2 methods. One is using the WordPress Codex to add a comment to the database with the submission. The second is creating a new table in the database and storing the submitted information into that table.

Creators connect with me at:

Please remember to subscribe for future videos.

Send Business Correspondence to:
Idea Pro LLC or Joshua Herbison
2901 E Greenway Rd. #54171
Phoenix, AZ 85032

WordPress Codex:

Plugin Tutorial Part 1 :
Plugin Tutorial Part 2 :

Get more out of your channel :

Comments ( 26 )

  1. For all those asking for a way to add the information to the database.. Hope that answers it..

  2. I am thankful for such tutorial. Can you please guide me about bootstrap? I want to add it to my form. where i add CDN? I m new to plugin development. please reply. thanks

  3. Thank you so much for this very helpful video, I am waiting badly for part 5.

  4. Your are an awesome teacher. The way you simplified all these complex wordpress core functionalities cannot be gotten in any video tutorial except on this channel. How I wish you have time to create more videos that will assist most of us still learning the ropes in wordpress custom development. I appreciate you effort in doing these videos

  5. Hi thank you for tutorial. Can you please share the source code? I am using the same exact line but it just doesn't insert it in db. I am sure its a typo on my end

  6. how to rememeber all of the things for different plugins?

  7. Thank you soooooo much!!!! I know zilch about PHP, and am the "learning by doing" type! Your tutorials have taught me more in an hour than all the others I found in my research for days and weeks. I love how you are to the point!

  8. Hi, thank you for your great video. could you please explain how can add a picture or a file to the database?

  9. If i deactivate plugin its shortcode shows on page so how can i hide this shortcode when i deactivate plugin

  10. Best tutorial i have ever seen on wp-plugin, Your way of teaching is very easy keep it up makes more tutorial for advance plugin

  11. Quality videos and tutorials! I've really appreciated the plugin series so far. You should definitely do more advanced WordPress tutorials or even a php tutorial. Keep it up. Liked and subbed.

  12. Hello, mine did not submit to the comments section. I put everything in correctly. My question is for the $to variable, do I need to leave it " ", since I do not have anywhere to send this to?

  13. kindly give file of plugin developemnt plzzzzzzzzzzzz

  14. Is dynamic creation of tables possible?? When pluggin is activated

  15. You are awesome. Thank you so mutch. You are great teacher.

  16. can we see these saved form submission data on admin panel Site Scripts field?

  17. Everyone's saying "Thanks" but nobody about possible SQL Injection 🙂

  18. Is there a way to dynamically add/remove data stored in the $content variable?

  19. Hey, maybe you can help. I keep getting this error, but I plugin works. I tried to separate the table creations with logic of inserting data to db. Here's the error: The plugin generated 1163 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin. Can you help?

  20. Hello. My plugin shows 503 error when I try to activate it on the website. and it remains unactivated. Pls how do I fix this?

  21. thank you man , you the best.many thanx

  22. Great Job. God bless you. Keep on

  23. Hey Josh, can you make a video about a plugin that have TABS on admin side settings page. Assume that this plugin needs too much settings and to make it more user friendly we group settings into tabs AT THE ADMIN side. I am not asking about user-side, I am asking about setting tabs on plugin admin-side.

Leave a reply