amazing tutorials loving the series. you go into great detail but explain it so well. you've shown things I haven't seen offered in other tutorials. great job
Been watching since the Wordpress beginners tutorial series. This is Far Better than taking and paying an online course. Kudos! (y) (y) I have subscribed to your channel and followed your facebook page. Unfortunately I don't have Twitter and Google+ Accounts, my bad. Looking for more of this great tutorial videos. Happy Coding! :)
trust yourself and be happy with what you have and the rest will tumble in :-) it's like an interface, once you implement all the right functions life will pour in. You have a real talent of explaining your thoughts and process which, I think, everyone has and you seem to navigate the boundaries and make it so simple. All strength to yer elbow and if the code I'm writing comes back to me it will tumble your way in some form or fashion. Thanks
I mean it :-) I'm a copy and paste and then figure it out if it breaks and when it breaks I learn. You go through it all and in that way you are unique. You explain the why part and that is very insightful and has helped me and I'm sure many others :-)
in 17:24 , maybe you could also use ... if (strpos($admin_page, "alecaddd") !== false) {... that way any admin page that contains "alecaddd" would be effected by the css styling (would be useful if you want to change the background color only for your theme admin pages).
Your videos are very nice. I am learning from your videos. What code editor you have used? What plugin of the editor you have used which return automitacally wordpress function ? Please let me know. Thanks for the video.
Hi Alessandro, thanks again for these great tutorials. Could you help me with these two questions: I’ve changed description input for a textarea because I want to save more info, but after save it, it doesn’t show what I saved. The content is saved in data base because I can use it in a variable but don’t show what you input like in the others inputs. 1) How to solved it? 2) any way to allow html content in the textarea? thank in advance
+Juan C Boly Hi, I talked really similar issues in future videos where I created a Custom CSS textarea. Check that video and most likely you will find the solution. Cheers
Hi, really nice, i wanted to ask in the next video, about a upload custom image, it can be used the same for a custom logo right? and a check if there is no custom image for logo use the default logo text :D
+Valentin Scarevnea Yes, absolutely. You can use the field that I'm creating however you want. The cool thing about using the built-in uploader of WordPress is that we have already the support for vector images like svg, perfect for logos.
"The differences are small: echo has no return value while print has a return value of 1 so it can be used in expressions. echo can take multiple parameters (although such usage is rare) while print can take one argument. echo is marginally faster than print." Found it on w3schools: www.w3schools.com/php/php_echo_print.asp
+Bert de Vries They're pretty much the same and performance wise, nothing changes. The echo is mostly used to output string and variable, because accepts multiple values. The print accepts only one value, so it's usually use to output one single variable. Cheers.
hi thank you for your tutorial !! it's very usefull :) i wish replace "twitter handler" text for example by a twitter icon. how can i do that ? i tried with get_template_uri but the icon doesn't appear, it's showing the path of my icon thanks :)
Hello, Thanks for your videos series. I have a question. How to add to Section, Option which would handled with database query? Where is saved the value from input after submit? thx
echo and print are more or less the same. They are both used to output data to the screen. The differences are small: echo has no return value while print has a return value of 1 so it can be used in expressions. echo can take multiple parameters (although such usage is rare) while print can take one argument. echo is marginally faster than print.
Amazing tutorials, i am reading all the tutorial to understand the functions and api. but the problem is when i am going ahead i am forgetting many of the point. So can i have all this code to study and remember the functions while create the theme. when all my lacture will be completed i will start to implement it on local.
Hi! I would like to ask you about the hook, in this tut in the if statement, you had a fixed value offered by your WP settings but there is any general variable or something to receive that value for any page?
In the if statement you used 'topleve_page-alecadd_sunset' which you found it in the source page. But this will be different on another WP installation. There is a default variable to keep it?
I have the same problem. Copied from repo as well. The red border is on all pages. Even if I did the hook. So something must have changed. And If you write the echo nothing will show up in the top corner.
hi! yours videos stills amazing.. Today in 2018 i dont know why wp_enqueue_style or action wp_enqueue_scripts doesnt works for me.. do you know why? can you make an update about it? thank you for you amazing content!
Check my source code on GitHub if you have any issue, for sure you have a typo somewhere as those methods are 100% working with the latest version of WordPress
Thanks. Tutorial is the best. I must ask you something. Why my wordpress show me a massege "An error occurred in the upload. Please try again later. " . I cann't upload a picture for sidebar. p.s. Sorry for my bad English
In my view source there doesnt show my custom css link that was created in css folder but the admin panel background Change what i have wriiten in custome.css
Thank you so much for following. I never deeply used buddy press, so I'm not 100% sure, but anyway the logic should be the same like adding a sidebar in a standard WP theme. Did you check my tutorial about sidebars?
Thank you for your tutorial. i have trouble in this tutorial, on sunset.admin.css when i run it on admin didn't show the solid border with red color, how to fix this? thank u so much.
+Alessandro Castellani same problem here, checked everything 3 times O.o EDIT: didnt find anyting at source code, but all requirements and codes are okay!
Using get_template_directory_uri () seemed to fix this. (path should look like this 'localhost/wp/wp-content/themes/sunset/css/sunset.admin.css?ver=1.0.0' ). Instead of get_template_directory () (path looked like this 'localhost/wpC:xampphtdocswp/wp-content/themes/sunset/css/sunset.admin.css?ver=1.0.0' ). Maybe an issue with xampp?
If someone wouldnt mind helping me out, I like the side bar idea, but how would the code change if I wanted the content to instead be about whichever author wrote the post? I can have an author box, but have the side bar pop out with more info when the viewer clicks on the face of the author. Thanks!
Hi, thanks for watching. You can use the same layout I'm using, but instead of grabbing the info from the admin area, you can use the_author() built-in method of WordPress. Be sure to wrap the widget around a condition to detect if the user is looking at a single post, in order to properly get the author. If you continue watching the tutorials, you'll see the stuff I did for the front-end, to print that widget and handle the opening and closing of the sidebar via JS. You can easily adapt my code to your needs.
Awesome! Thanks! Is there a way I contact you personally if I hit any walls working on my project along the way? I promise I won’t try to abuse your kindness.
hy allecaddd oke so i have a bit of a problem after coding through your tutorials at the end of 6 one i got a problem Parse error: syntax error, unexpected end of file in function-admin.php on line 78 and i cant resolve it i dont really see the problem couse it's all fine looking i went step by step and there is no way it can show this error on that function and row i tried even copy it from your repository and still got same error can you help me somehow ? function ngt_theme_settings_page() { echo 'Ngt Custom CSS'; }
Hey Alex while I am enqueueing jquery ..its giving an warning.. Warning :Use of undefined constant jquery in function.php I tired to replace $ with jQuery in my js folder also but didn't work. Can you help me?
Hi when i delete the #wpbody the red border doesn't go away but the $hook fonction work and if i delete the hook the red border is everywhere beside the fact that i deleted it on the sunset.admin.css can you help me ? I tried to add another color to the sunset.admin.css but it doesn't work it still red
Sorry man for disturbing you, but can you tell me what's this problem I have: "NetworkError: 404 Not Found - localhost/MihaTZ%20WordPressTemplate/wp-content/themes/MihaTZ%20WordPressTemplatecss/mt.admin.css?ver=1.4.1" JQMIGRATE: Migrate is installed, version 1.4.1 ???
Funny man :D and again so sorry bcsof my not paying attention - I wrote: wp_register_style('mt_admin', get_template_directory_uri() . 'css/mt-admin.css', array(), '1.4.1', 'all'); instead wp_register_style('mt_admin', get_template_directory_uri() . '/css/mt-admin.css', array(), '1.4.1', 'all'); I missed "/" before css. :) Sorry sometimes is easy to make mistake while coding ... but anyway, thank's man, it works now perfect! :)
Best wordpress tutorials serie, I’ve Ever seen
Cheers
best Custom Wordpress Development Series I have seen till now. Would love to watch and follow every video. Keep it up bro.
You have other 50 videos you can watch, so enjoy as much as you can :D
Thank you so much for following
Love you Alessandro! specially when you said at 27:00 "even if you don't give a shit, it's still fine"
I'm always honest 😁
I finished the 101 Tutorial for beginners and now cracking with this one!! You are TOP man!!
Thank you so much for watching my videos. Happy Coding :D
amazing tutorials loving the series. you go into great detail but explain it so well. you've shown things I haven't seen offered in other tutorials. great job
Thank you so much, I try every time to do my best to make everything clear and simple to follow.
Another fab tutorial
All is good so far ... hit a problem but all sorted now and ready to watch part 7.
Glad to here that, keep pushing forward, more amazing things to learn and code :D
Been watching since the Wordpress beginners tutorial series. This is Far Better than taking and paying an online course. Kudos! (y) (y)
I have subscribed to your channel and followed your facebook page. Unfortunately I don't have Twitter and Google+ Accounts, my bad. Looking for more of this great tutorial videos. Happy Coding! :)
Thank you so much for following since the beginning, I'm glad you find my tutorials helpful.
wow! that was fast. im always looking forward at this tutorial cant wait till the end. thank you so much.
+Allan Alcantara Thank you for following. I will publish next video in a couple of days, cheers
trust yourself and be happy with what you have and the rest will tumble in :-) it's like an interface, once you implement all the right functions life will pour in. You have a real talent of explaining your thoughts and process which, I think, everyone has and you seem to navigate the boundaries and make it so simple. All strength to yer elbow and if the code I'm writing comes back to me it will tumble your way in some form or fashion. Thanks
Thank you so much for your support and this beautiful comment.
Cheers
I mean it :-) I'm a copy and paste and then figure it out if it breaks and when it breaks I learn. You go through it all and in that way you are unique. You explain the why part and that is very insightful and has helped me and I'm sure many others :-)
There goes another fine tutorial! THX, Alessandro!! ;-)
+CyberIllusions Thank you for your commitment in following the series :D
hi Alessandro thanks for this amazing tutorial. When do we need to use get_directory_template() vs get_directory_template_uri()?
in 17:24 , maybe you could also use ... if (strpos($admin_page, "alecaddd") !== false) {... that way any admin page that contains "alecaddd" would be effected by the css styling (would be useful if you want to change the background color only for your theme admin pages).
thanks for your videos by the way, it's so valuable!
Yup, that's a good tweak
I always like your tutorials... I learned alot from you.. Thank you Alessandro 👍😊
You're very welcome
Thank you sir for an amazing and step by step and point by point tuts for the beginners
You're very welcome!
شكرا جزيلا = grazie mille
waiting for the next video and how to edit the first and last name inline with users interaction
thanks million
+Bader Rj Thanks for the confirmation of the translation XD
I love your tutorials. They are very informative.
+Shahin Alam Thank you so much!
Would you kindly make tutorial about how to make slider from the backend. Thank You!
Like, Before watching ...you really deserve that
Eng. Alessandro :) cheers from Egypt
Your videos are very nice. I am learning from your videos.
What code editor you have used?
What plugin of the editor you have used which return automitacally wordpress function ?
Please let me know.
Thanks for the video.
i learnt many things from your tutorial thanks for uploading
Thank you so much, this makes me really happy!
omg please keep going bro never stop
love you from iraq :)
Hi Alessandro,
thanks again for these great tutorials. Could you help me with these two questions:
I’ve changed description input for a textarea because I want to save more info, but after save it, it doesn’t show what I saved.
The content is saved in data base because I can use it in a variable but don’t show what you input like in the others inputs.
1) How to solved it?
2) any way to allow html content in the textarea?
thank in advance
+Juan C Boly Hi, I talked really similar issues in future videos where I created a Custom CSS textarea. Check that video and most likely you will find the solution. Cheers
Amazing theme development tutorial.
Thank you so much :D
Really tutorials series. Thanks a lot Alessandro
Superb, thanks alot for your tutorial series. Keep smile and happy coding.. ^_^
Hi, really nice, i wanted to ask in the next video, about a upload custom image, it can be used the same for a custom logo right? and a check if there is no custom image for logo use the default logo text :D
+Valentin Scarevnea Yes, absolutely. You can use the field that I'm creating however you want. The cool thing about using the built-in uploader of WordPress is that we have already the support for vector images like svg, perfect for logos.
in Minute 23:47
You could use echo instead of print ?
"The differences are small: echo has no return value while print has a return value of 1 so it can be used in expressions. echo can take multiple parameters (although such usage is rare) while print can take one argument. echo is marginally faster than print."
Found it on w3schools: www.w3schools.com/php/php_echo_print.asp
Great job, Thank you .
+Abdeljalil Kinini Thank you for watching
Really love this series. One question if i may..
Why do you use Print and not Echo? Just wondering....
+Bert de Vries They're pretty much the same and performance wise, nothing changes. The echo is mostly used to output string and variable, because accepts multiple values. The print accepts only one value, so it's usually use to output one single variable.
Cheers.
Thank you very much for perfect guidance. You are just amazing..
+Rinchen Sangpo Nope, you're amazing! Thanks for watching :D
Awesome tutorial, thank you.
Thanks for watching!
hey alex can i use a text area as the description container instead of the input tag ?
can you give an example of input type checkbox, value etc?
OMG, man you're the BEST!
Thank you so much :D
Hey Alessandro Castellani, do you have an video that explain on how to apply your setting api not to wordpress dashboard but to your live theme.
What do you mean?
Like printing the saved that in the front-end, or creating a sort of visual editor?
Great Tutorials you have there!
In your CSS you write: "inline-blog", should be "inline-block" i guess?
Thumbs Up!
+lcapocer Yeah, I noticed that mistake after publishing the video. It's fixed in the GitHub repo.
Sorry about that >_>
+Alessandro Castellani Great tutorials!
hi thank you for your tutorial !! it's very usefull :)
i wish replace "twitter handler" text for example by a twitter icon. how can i do that ?
i tried with get_template_uri but the icon doesn't appear, it's showing the path of my icon
thanks :)
Thanks for watching.
In future lessons I show how to use a font icon, if you want to use an image you can do something like this:
I love your tutorials
Hello, Thanks for your videos series. I have a question. How to add to Section, Option which would handled with database query? Where is saved the value from input after submit?
thx
Keep following the tutorials and you'll find all the answers
Thanx for all the awesome videos!
Got one question for you...
Why do you use "print $description" etc. instead of "
It's mostly a habit that helps me keep my code consistent and easy to read. Also, the shorthand
Is there any special reason for using print instead of echo? Please, let us know about it.
Nice tutorial. Much appreciated!
echo and print are more or less the same. They are both used to output data to the screen.
The differences are small: echo has no return value while print has a return value of 1 so it can be used in expressions. echo can take multiple parameters (although such usage is rare) while print can take one argument. echo is marginally faster than print.
Thank you for your reply. So we can use echo here as well?
Amazing tutorials, i am reading all the tutorial to understand the functions and api. but the problem is when i am going ahead i am forgetting many of the point. So can i have all this code to study and remember the functions while create the theme. when all my lacture will be completed i will start to implement it on local.
thank you .. i wish You also make a series for WooCommerce
I will in the future, not sure when but I'll definitely will
Thank you so much brother for everything.
Hi! I would like to ask you about the hook, in this tut in the if statement, you had a fixed value offered by your WP settings but there is any general variable or something to receive that value for any page?
+Podeanu Alexandru At which hook are you referring to?
In the if statement you used 'topleve_page-alecadd_sunset' which you found it in the source page. But this will be different on another WP installation. There is a default variable to keep it?
I have the same problem. Copied from repo as well. The red border is on all pages. Even if I did the hook. So something must have changed. And If you write the echo nothing will show up in the top corner.
hi! yours videos stills amazing.. Today in 2018 i dont know why wp_enqueue_style or action wp_enqueue_scripts doesnt works for me.. do you know why? can you make an update about it? thank you for you amazing content!
Check my source code on GitHub if you have any issue, for sure you have a typo somewhere as those methods are 100% working with the latest version of WordPress
Thanks. Tutorial is the best. I must ask you something. Why my wordpress show me a massege "An error occurred in the upload. Please try again later. " . I cann't upload a picture for sidebar.
p.s. Sorry for my bad English
In my view source there doesnt show my custom css link that was created in css folder but the admin panel background Change what i have wriiten in custome.css
This is a superb!
By the way, how can I integrate the sidebar with buddypress?
Thank you so much for following.
I never deeply used buddy press, so I'm not 100% sure, but anyway the logic should be the same like adding a sidebar in a standard WP theme. Did you check my tutorial about sidebars?
yep I've checked it! and soon create a new one! so, simply I just add buddypress codex into it?
thanks for tutorial. But can we use custom font (@font-face) font in admin css, I not get success in applying css of font face
Yes you can!
Be sure to properly link those fonts to the proper path in css, and check the inspector if you have any issue
Thank you for sharing Knowledge
You're welcome :D
Thank you for your tutorial. i have trouble in this tutorial, on sunset.admin.css when i run it on admin didn't show the solid border with red color, how to fix this? thank u so much.
+Afif Mas'udi Ihwan Did you check in your source code if the file has been included properly?
+Alessandro Castellani same problem here, checked everything 3 times O.o EDIT: didnt find anyting at source code, but all requirements and codes are okay!
Using get_template_directory_uri () seemed to fix this.
(path should look like this 'localhost/wp/wp-content/themes/sunset/css/sunset.admin.css?ver=1.0.0' ).
Instead of get_template_directory ()
(path looked like this 'localhost/wpC:xampphtdocswp/wp-content/themes/sunset/css/sunset.admin.css?ver=1.0.0' ).
Maybe an issue with xampp?
you are awesome. Thanks a lot.
+MD. Shafayatul Haque Thank you so much
If someone wouldnt mind helping me out, I like the side bar idea, but how would the code change if I wanted the content to instead be about whichever author wrote the post? I can have an author box, but have the side bar pop out with more info when the viewer clicks on the face of the author. Thanks!
Hi, thanks for watching.
You can use the same layout I'm using, but instead of grabbing the info from the admin area, you can use the_author() built-in method of WordPress. Be sure to wrap the widget around a condition to detect if the user is looking at a single post, in order to properly get the author.
If you continue watching the tutorials, you'll see the stuff I did for the front-end, to print that widget and handle the opening and closing of the sidebar via JS. You can easily adapt my code to your needs.
Awesome! Thanks! Is there a way I contact you personally if I hit any walls working on my project along the way? I promise I won’t try to abuse your kindness.
How to add CSS file on two admin subpages...
In my case, I want to add the same CSS file on more than one subpages.
Nice job!👍
nice tutorial m8!
Thanks :D
Hey, please tell me where these (input form saves) are stored in the database, i tried to find in phpmyadmin but failed. :(
They're stored in the wp_options table
si yo que no se nada ingles lo entiendo muy bueno sigue adelante
please release another tutorial for 2019 themes
hy allecaddd oke so i have a bit of a problem after coding through your tutorials at the end of 6 one i got a problem
Parse error: syntax error, unexpected end of file in function-admin.php on line 78
and i cant resolve it i dont really see the problem couse it's all fine looking i went step by step and there is no way it can show this error on that function and row i tried even copy it from your repository and still got same error can you help me somehow ?
function ngt_theme_settings_page() {
echo 'Ngt Custom CSS';
}
oke no need for replay i solved it , the problem was that atom didnt show proper line for error
Thank you for video)
You're welcome
Hey Alex while I am enqueueing jquery ..its giving an warning..
Warning :Use of undefined constant jquery in function.php
I tired to replace $ with jQuery in my js folder also but didn't work. Can you help me?
The error message is telling you that you wrote something wrong in your functions.php file.
Check my source code on GitHub
what's the plug-in name that show the args of the wp functions in the editor?
It's the WordPress autocomplete for Panic Coda
Thanx for all!
Hi when i delete the #wpbody the red border doesn't go away but the $hook fonction work and if i delete the hook the red border is everywhere beside the fact that i deleted it on the sunset.admin.css can you help me ? I tried to add another color to the sunset.admin.css but it doesn't work it still red
UPDATE: i tried to delete the sunset.admin.css since nothing was in and the red border is still there...
UPDATE PROBLEM SOLVED BY ITSELF
$hook doesn't work with me i don't know why
Thank you!!! :)
Thank you for watching
beautifull content
Help me. I don't see "toplevel_page_alecaddd_sunset" when right click view source.
Please take a look at my source code on my github repo to check if you have any typo
How did you solve it?
Sorry man for disturbing you, but can you tell me what's this problem I have:
"NetworkError: 404 Not Found - localhost/MihaTZ%20WordPressTemplate/wp-content/themes/MihaTZ%20WordPressTemplatecss/mt.admin.css?ver=1.4.1"
JQMIGRATE: Migrate is installed, version 1.4.1
???
Your mt.admin.css can't be found.
I also see that you're using spaces in your folder names, you shouldn't do that, always use - or _
Funny man :D and again so sorry bcsof my not paying attention - I wrote:
wp_register_style('mt_admin', get_template_directory_uri() . 'css/mt-admin.css', array(), '1.4.1', 'all');
instead
wp_register_style('mt_admin', get_template_directory_uri() . '/css/mt-admin.css', array(), '1.4.1', 'all');
I missed "/" before css. :) Sorry sometimes is easy to make mistake while coding ... but anyway, thank's man, it works now perfect! :)
Was wondering why my sidebar option was not going center. Turns out i forgot my browser wasn't maximize lol
Thanks allesandro!
Thanks for watching :D
شكرا جزيلا
+ahmed eraqi The translator said you wrote "Thank you", so I guess I should trust it.
Thank you for following :D
+Alessandro Castellani
yes thank you very much
i love your all tutorial ,
very helpful for me
can i make a WordPress theme by watching all these videos?? If yes,what languages should i learn before watching these??
Yes you can, and the basic knowledge you'd need to follow is a bit of PHP, HTML, CSS, and Javascript
Alessandro Castellani thank u very much sir for ur reply.
شكرا لك = thank you = Je vous remercie = gracias = Danke
You're very very welcome :D
"display: inline-blog" ? :)
Yes, it's a new attribute I just created....it works perfectly....T_T
I know, I'm the worst
well.. your feature has intuitive name :)
Thank you for the series, by the way. This is a very valuable source of knowledge for me
there are a mistake you put .body on css file style it's not class it's element
Awesome
Thanks
Thaaaaaanks!!
thatnks....thanks .....thanks :)
You're very very very welcome
Connect with a dot = concatenation :)
Awesome, thank you so much for the heads up :D
جميييل شكلي الوحيد العربي هنا