how easy explaining these beautiful approaches .. thank you
@kleinmannaponte66303 жыл бұрын
Excellent Alessandro Castellani! I like your way of developing, and of explaining! You are a crack
@ahmadarbe4 жыл бұрын
what the name of this design pattern?
@klemonso6 жыл бұрын
great tuto, thanks :)
@alecaddd6 жыл бұрын
Thanks for watching :D
@engrmamun594 жыл бұрын
How to type Arrow line number 21 ?
@samardebnath65815 жыл бұрын
The plugin generated 1 character 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. this is msg pops up every time I activate my plugin & vanishes after refresh...how to fix this
@hasanniloy93137 жыл бұрын
Hey, do you've a plan to make PHP series ( beginner to advanced ) level because every time you make a great tutorial. I look forward to learn PHP from you :)
@alecaddd7 жыл бұрын
Thank you so much :D This plugin series is basically a PHP OOP series in disguise :D But yes, definitely after this series I will do one only about PHP, maybe how to build a small CMS. Cheers
@yanndeo95013 жыл бұрын
@@alecaddd Hi can you share link of this series about PHP please
@shivangisaraswat13336 жыл бұрын
hello, the content of my page is not showing since i have installed the wordpress what to do please help me out .
@alecaddd6 жыл бұрын
Do you have a totally blank page or it's just the content? Check my source code on GitHub if you have any issue.
@RafaKobylinski-rKonik7 жыл бұрын
Maybe I'll ask a silly question. Apparently there are no stupid questions :) Use the same constant name define ('PLUGIN_PATH', plugin_dir_path (__FILE__)); in another plugin will not cause problems?
@alecaddd7 жыл бұрын
Not a stupid question at all. Yes, that could cause some issue if you reuse the same CONSTANT name. You can assign a unique name to those constants to avoid this issue, or store those info in public variables in the Init() class, to then let every other class access those variables. You can use the approach that you prefer. Cheers
@manojRao74 жыл бұрын
fatal error : Class 'Includes\Pages\Admin' not found
@manojRao74 жыл бұрын
because of a stupid error in composer.json
@rawhasan11804 жыл бұрын
Super complex! :(
@alecaddd4 жыл бұрын
Don't give up, I'm sure you can do it with a couple of tries
@RawHasan4 жыл бұрын
Starting the series with lots of hope. It was amazing until Episode 10. Got all complicated afterwards. Can't follow anymore! :(
@klaasdeeindbaas5 жыл бұрын
All this juggeling, rewriting and reordering with files and classes and methods (also in the lesson before) is really really informative, but it diverts from and confuses the original goal of the tutorial: creating a plugin. Again, it's really informative but it's a lesson in advanced php coding instead of a lesson in plugin creation :/
@kolikojesati913 жыл бұрын
If you think that advanced php oop knowledge isn't necessary for writing WP plugin then you should look elsewhere.
@ZaheerAbbas-pn9fx5 жыл бұрын
I am getting warning while doing above code Deprecated: Non-static method Inc\Init::instantiate() should not be called statically in D:\xampp\htdocs\projects\wp-content\plugins\alecaddd-plugin\inc\Init.php on line 28
@alecaddd5 жыл бұрын
Check my source code on GitHub if you have any problem
@Thezaintaseer Жыл бұрын
i am here to learn but your code is not for the one who is beginner
@PrakashPoudel25 Жыл бұрын
Fatal error: Uncaught Error: Using $this when not in object context in /Inc/Base/Enqueue.php, line: add_action('admin_enqueue_scripts', [$this, 'enqueue']);
@md.abulkalamazad49656 жыл бұрын
[Page\Admin::class] why not [Inc\Page\Admin::class]?
@alecaddd6 жыл бұрын
That's basic namespace and autoload behavior. In the Inc.php file we set the namespace to Inc, so, no need to specify it again if the classes you're calling are inside that very own structure.
@md.abulkalamazad49656 жыл бұрын
Thanks i got it
@curiousprogrammer73974 жыл бұрын
I think where you say "camelCase" should be "PascalCase".