Create a WordPress Plugin from Scratch - Part 1
Вставка
- Опубліковано 19 жов 2024
- :: Become a Patreon ::
/ alecaddd
:: Join the Forum ::
forum.alecaddd...
:: Support Me ::
www.alecaddd.co...
amzn.to/2pKvVWO
:: Tutorial Series ::
WordPress 101 - Create a theme from scratch: bit.ly/1RVHRLj
WordPress Premium Theme Development: bit.ly/1UM80mR
WordPress Mega Menu: bit.ly/2ucxSO4
Learn SASS from Scratch: bit.ly/220yzmZ
Design Factory: bit.ly/1X7Csaz
Affinity Designer: bit.ly/1X7CrDA
:: My Website ::
www.alecaddd.com/
:: Follow me on ::
Twitter: / alecaddd
Google+: bit.ly/1Y7sunz
Facebook: / alecadddpage
I have complete your theme development, and guess what? now I have started my freelancing career. A big thank you from my heart...
Holy smokes! Congratulations!
All the best to your career.
how are u doing?
@@unknownman1 Freelancing sucks man, dont try it
@@stormcloakguard8521 Why?
@@mattfinlay7476 always try it first and then conclude !
Alessandro, I'm a full time front end developer and beginner PHP developer, I've just watched your Wordpress 101 playlist and in the space of a few hours I have my custom theme running and looking great. You're a great tutor and I'm happy to support you especially as I'm developing my theme for a client. I think if any of us developers are making money from Alessandro's tutorials we should all donate something. Really looking forward to this plugin series, keep up the great work.
I came back many years later to check the tutorials again, I literally landed a few jobs only because of this WordPress Plugin series. Best WordPress dev tutorials ever!
i followed your tutorials since the beginning and i get excited every time i get a notification from your channel.
Totally one of the best WP tutorials in the internet, it's too good to be free :p
Thank you master Alessandro
Oh wow, you're one of the original followers :D
Thank you so much for your support and Happy Coding!
please how do you copy out the file from cpanel to desktop? or did you just edit the wp-content file directly from cpanel?
I must agree, everytime I get to see a notification from alecaddd I'm getting excited to see whats in store for us. very helpful in my learning path in WordPress. Thank you Alessandro, keep it up!
You're very welcome, and thank you for watching :D
Alex bro . You are doing great. You are the only developer who dig really deep into Wordpress on UA-cam. Keep it up 👍
Thank you so much :D
I think you are great and i am following since start as well. I am really thankful to you as the new series are not 20 or 30 mins based tuts. That is just awesome.
+Raja Adnan Nazir Ahmed you will be really disappointed for future videos, so sorry 😜
Cheers, Aless - what a great tutorial - was just the right length and content for an intro and your chilled out tone and delivery of the material overall was just spot on. Subscribed and hooked on the series. Thanks again, kudos.
Oh wow, thank you so much and welcome to the Channel.
I hope you'll enjoy the rest of the content. Happy Coding :D
A.C. excellent series start up video! There's nothing wrong with your voice. I care about the knowledge you share and how it grows my skillset.
Beautifully done! Looking forward to implementing something that I've wanted to do for a year, but too busy previously.
I'm happy to be helpful, enjoy the journey and Happy Coding :D
You are a very good teacher. Very clear Voice, and smooth flow.. Thanks lot for videos..
You're very welcome!
I love the tutorial. Your voice reminds me of Gru from Despicable Me which makes the tutorial even more awesome.
Thanks...I guess :D
Simply great.....though i never liked wordpress but its your way of instruction and deep knowledge undoubtedly, driving me to learn wordpress plugin development...thanks for such a great start...long live...
Thank you so much for watching, I'm glad I was able to hook you up :D
Alessandro Castellani you're too awesome bro. i am excited to follow this series.
It's gonna be exciting, thank you so much :D
Thank you so much for this big tutorial! You helped me a lot when I was self-learning plugin development on WordPress.
I'm so excited for this series! Thanks you for the videos and keep up the good work!!
Thank you so much :D
WooooW. I was eagerly waiting for this awesome series. Thank you so much.
You're very welcome :D
Great tutorials for me as a first time Wordpress developer.
Yeah! Amazing!!
Already had experience creating plugin but would like to learn if I missed anything basic or something. Since this has a lot of good review, will continue watching and learn from you!
I'm glad you found my tutorials. The series is mostly focused on proper OOP and Plugin architecture to make everything modular. You will notice throughout the series some shifting and digressions to other topics.
Enjoy!
And the adventure has started!!
Yayyyyy!
best tutorial video i ever watch, the explanation is very clear and easy to understand.
Hello Alex, Thank you for your informative tutorial series. Trying to learn Plugin Development from your lessons.
Ciao Alessandro grazie per il tutorial!
Prego :D
I want to create a customgpt chatbot using customgpt API… that's why I'm in this series of tutorial in order to create that. A little help and guidance will be appreciated, thanks for the good stuff!
I love how you talk through every step and explain all! This is great: Well that said i think: the global Wordpress-Community is LITERALLY a learing community.
So plz help in educating the world. can you come up with a vid that covers the Version 6.1 - this would support the global community We need you!🙏😊👍🏻😳♥
damn. best wordpress dev series i ever watched. thanks a lot alessandro! :)
You're very welcome :D
thank you Alecad. your tutorial is always awesome. here have no any doubt. please make woocommerce tutorial.
I will in the future, thanks for watching
credo sia la prima volta in vita mia che guardo un video di un italiano che parla in inglese e non mi accorgo che non è madrelingua, sono commosso.
❤️
Thanks for the tutorial. May you also recommend some essential plugins for the WordPress website?
Your tutorials are golden
Thank you so much :D
Watching and feeling good
awsome video can you tell me which font you are using and which theme ?
Amazing introduction to develop plugins. Great instructor!.
Awesome, thanks for the positive feedback.
Happy Coding :D
I love these tutorials.. Your method makes sense and helps me create cleaner code.. One question though.. what editor are you using?
Visual Studio Code. Thank you so much for watching :D
That's super power full tutorial , Thanks so so much
Cheers
Sorry if this is a dumb question, I am a complete newbie, are you writing this code on your local computer or on the server where your WP site is located?
On my computer. I set up a localhost to develop websites locally.
I have many videos on how to do it on Linux if you're using that platform
Part 1: Setting up folder and core files
Hey we like your sublime theme ✨
Which one is this?
Thanks.
Amazing Tutorial. Thanks🥰
Very nice and absolutely amazing tutorials and very nice voice.
Thanks and needs more tutorialin this same.
Thanks for watching. Check the playlist where this tutorial is part of as I recorded 50+ videos about plugin development.
Happy Coding!
please how do you copy out the file from cpanel to desktop? or did you just edit the wp-content file directly from cpanel?
Just started...thank you buddy😊😊😊
Good bro, Keep it up,,,, love from Bangladesh....,🇧🇩
Finally find amazing channel on UA-cam i subscribe 👌
Thanks Alessandro it's really super explain . Nice tutorial keep it up continues.
please how do you copy out the file from cpanel to desktop? or did you just edit the wp-content file directly from cpanel?
"Grazzie Mille" for this great series of tutorials for wordpress. After 4 years, is the best tutorial I found on internet. Can you tell me, if you remember what theme you use for VSC in these tutorials? I like alot that theme and I can't find it. Thanks, and Happy Coding!
That was a good start
Thank you
Nice! Provided info that other WP plugin tutorials did not! Such as why all the first comment hooey is necessary!
this is my first tutorial with u and i'am begining to get excited ♥ ♥ thanks a lot
when we can see the next ep ? + can u tell me the name of your editor ?
This everything you need to know about my editor: ua-cam.com/video/oHmPrjSzmwU/v-deo.html
Also, if this is the first video you watched from my tutorials, I suggest checking the previous series, very important and kind of necessary in order to understand properly the Plugin development of WordPress.
Cheers
I just started doing this plugin series today. Hopefully I can finish this in a month.
Happy Coding :D
Great tutorial, What did WP do when activate/deactivate that plugin?
Great channel and a great teacher!! I'm wondering how would you do when your coustomer ask you, if you can book something using a bookingcalender and then the customer wants to show their members when they have booked something. How would you solve this?
Big thank u for your videos!!!
Excellent tutorial !!!
Great tutorial. Thank you so much
Thanks for watching :D
Grazie Alessandro, ottimo video!
Grazie a te per aver guardato il video :D
I've found (through some experience) that 'messing up' very small things in the plugin structure can have TERRIBLE effects on the output of the website (a.k.a. weird bugs). For instance:
1. I made a plugin following this same folder and file names, as well as this comment block with the plugin meta information, etc. Everything worked fine locally, but after uploading to the remote host, the backend pages (wp admin pages) were completally blank!! I was so frustrated, and later found that the problem was that there were some NEW LINES between the
Also, to avoid direct access, you can check to see if WordPress constant WPINC is *not* defined -- simply add an IF statement after the plugin comment block. If it isn't defined, you call *die* .
+Matthew Kosloski I already recorded the next episode where I show 3 different methods of securing a plugin, and your approach is included. Thanks for the hint
I'm trying to develop my own plugin for my wordpress but im not sure how to set up a local host where i can access the source code of the site like you have at the begining of the vid, how do i set that up?
great tutorial thx bre
sei il migliore! continua così!
Grazie mille :D
Great tutorial! Do you have a tutorial showing how to add plugin (eg. form) in a section in theme customizer? Thank you.
Not yet, but adding features to the customizer is part of this ongoing series
good!! thanks!
Hey Alex... thank you very much for WP tutorials and I really love your way of explanation everything you did..I had a problem with my blog and I don't know why the blog RSS feed is not working properly and I want to import the category wise filtered blog feeds to another site. please get me an example on this topic if possible... thank you very much in anticipation.
Nice tutorial!
NICE tutorial dude
ty for sharing
Cheers
I still haven't watched this series and I don't know much about plugins but can I integrate python code in the plugin? I mean the functionalities of the future plugin are in python.
Lo scrivo anche in italiano visto che credo tu sia italiano:
Non ho ancora guardato la serie e non ne so niente di plugin ma potrei integrare del codice python nel plugin? intendo dire che le funzionalità sono scritte in python.
Sir, do you have youtube tutorial on php/javascript or c#? Your explanation is good sir.
Awesome introduction. Cheers
I'm glad you like it :D
Dear
Alessandro Castellani,
Can you guide the code design pattern for PHP in WordPress?
Thanks
Brother, I have created the file and the standard description exactly as you did but wp is not showing my plugin file as i am using Local by flywheel for the wp and plugin development. Can you help?
great video thanks!
Alex brother,
I've one question to ask you . well now your in a basics of plugin development . but when this basic series end and also we know the basic about plugin development ,
do you continue tutorials about premium plugin development like "WordPress premium theme development" ???
and also do you suggest some plugins that help developer to shorten time whatever helps developers ???
Thank you advance :D
Nobir
Hi Nobir, if you check the previous video of this series, I explained how I'm planning to execute the series.
Basically, first 5 or 6 videos will be about the basic of building a plugin, after that, I will start building small plugins suggested by the users. The more we progress with the series, the more complicated and "premium" the plugins we build will be.
ohw okay
I understand now
Thank you so much :D
Da Best bro. keep goin. Subscribed
Thanks
Awesome & thank you!
You're very welcome :D
Great series. Unfortunately my VS Code Editor does not recognize the WordPress built in functions like "register_activation_hook" or "add_event" and so I cannot even register my plugin entry point. I use WordPress in a docker container by the way. Don't know why that is. I searched the internet but did not find an appropriate answer. I assume there are namespace issues or issues with using WordPress in Docker.
Great and generous initiative. Thank you. You are a true master. I would like to ask you however - You said at the beginning to open wp_conig.php file but at same time it is visible that you had wp_config_sample.php actually opened. I am confused because I have both files and they both have that Debug option exactly the same. Thank you. Kind Regards from Bulgaria.
The sample is just a sample WP offers you to handle the first automatic install. If you have the regular config, you can delete the sample.
If I want to build an ERP is this the right place to start learning?
I'm guessing from the Automattic copyright at the bottom that you copied your GPLv2 text from another WordPress file, not from gnu.org as stated.
"Say True"
Alessandro : Thruuuu
Very well
You keep mentioning sublime text? So what extensions do you have installed on vscode that would pertain to your plug-in video series? Especially Autofill.
I did a tutorial showing my VSCode setup: ua-cam.com/video/NOeC1V8DH70/v-deo.html
I don't use any autocomplete for WordPress in it, but there are a lot of extensions available. Just try them out and you'll find one that works for you. Cheers
Thank you!
what editor your using code? really nice tutorial Thank you
In this video, I was using Sublime Text: ua-cam.com/video/oHmPrjSzmwU/v-deo.html
That's so nice!!! Thank you :D
Thanks for watching
Bel tutorial, e bella pronuncia inglese! Ci ho messo un po' a capire che fossi italiano ;)
Ahahahah, grazie mille, uno dei migliori commenti che abbia mai ricevuto :D
Thank you so much
You're very welcome
You r sublime text looks completely different. what modifications have you done or extension you added. Please let me know.
Luckily, I made a video about it ua-cam.com/video/oHmPrjSzmwU/v-deo.html
love your video,,,,
Aless can you help ?
i'm creating a wordpress theme for watching trailers and i want to creat a tab in the single-post called watch and if you click on it it will takes you to a page or something to watch this trailer thannk you Aless man i love your teaching style
You can achieve this with a simple div overlay where you can load the to watch the video.
I will implement something like that in one of my upcoming tutorials.
Cheers
With regards to your URI...what if your code/plugin isn't hosted on a site? What if its just on your localhost and your'e just going to upload it for your own specific site?
Hey Alessandro, if I wrote a preloader with HTML, CSS, and Javascript is it possible to create a plugin on Wordpress with this code or does this need to be within a PHP file?
The plugin needs to be written in PHP, that's the only allowed approach by WordPress. You can easily build a really simple plugin that enqueues your files and embeds the HTML preloader in every page.
though i have been a php-developer for 3 years but i am new to wordpress .
I did everything you showed in the video but my pluggin isnt appearing on "installed plugins" page.
can you please help me little here ?
Thanks so much.....
Awesome.
Thank you :D
thank you so much master ;)
Hi, what editor are you using to edit your code?
thanks
Hi, Just asking myself, would it be complicated to unlock hyperlink in a plugin? I have recipe with ingredients and would like to put a link on those ingredients. I have found the ingredient.php file but how should I do to 'activate' the possibility to add a link? Maybe a right click option? Thanks if you have any clue on that! :)
You are awesome! :D
Thank you so much
Oh thanks
grande !!
You forgot to show how you connected Code with Wordpress, how you upload the plugi file just by saving the VsCode?
I have a local installation of WordPress on my computer, I don't need to upload anything. Check my switching to linux playlist to learn everything about my setup.
Question out of curiosity, what is the average cost of a plugin if a full time developer work on it? Say for an LMS setup?
It depends on many factors, like how much the developer charges per hour, how much time the developer thinks he can deliver the plugin, the client's requirements, the client's deadline, etc.
I can't give you an estimate like that :D
If you're interested, you can send me an email and we can talk some details. Cheers