3. Create a Custom Post Type - Let's Build a WordPress Plugin From Scratch
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- In this video we create a WordPress custom post type so we can store contact form entries.
You'll learn how to create a simple class in your plugin to encapsulate your plugin code so all of your methods are contained to stop naming clashes.
Listen to me when i say NO ONE EXPLAINS WORDPRESS CONCEPTS LIKE YOU ON TH-cam. I always wondered what these classes and OOP is. But all those blogs on the internet assume the reader is a pro already and they jump right onto the hardcore codes without explaining the nitty gritty like u do. you are an indespensible asset for the community. Never stop making videos. 💐😃
Something actually works in my life. It did have a red highlight under add_action but I figured this might not be a problem.
yeah, its just a function that will be used by wordpress, but isnt one that comes by default in php.
I really appreciate you! Mr. Digital Sir!! amazing nice videos..
Thank you for all of your educational content
Really nice WP tips!
Hi, is there anyone could tell me how to type "==>"?
In section "$args = array(
'public' ?????
Hi, great series you got going on here. I've just wanted to search somethink like this, I've just finished your series about Wordpress theme, because I am working on my own and wans't sure about some thinks and this new stuff from you just poped out. Thanks
It doesn't add Contact form to a meni. I checked the code, its fine, no typos. What might be wrong?
try __construct() instead of _construct()
@@paullorosa_ Thanks
did you turn on plugin (activate) ?
@@paullorosa_ thank you! I had same issue, it fixed it
Awesome videos ++++++++++++ 🙂
Very good
I checked my code a triple times. no errors. But still Contact Form is not showing up in the admin panel. Someone any ideas pls!
i have the same problem...
@@leonardscharf909 Did you found a solution? Goodluck anyway!
@@Jaydon05 it is not showing in plugins section? if that's the case i used comments from acf plugin and then its showed in plugins section
did you turn on plugin (activate) ?
try __construct() instead of _construct()
you need 2 "_" and not only one before construct
Thanks