WordPress Live Development Session + Q&A - Part 2

preview_player
Показать описание
Do you want to take a look on my development process on creating a WordPress theme? Do you want to ask me questions about my series of tutorials WordPress 101? Do you want to ask me how many times per day I go to the bathroom?

NOW YOU CAN!!!

Join me in this little experiment, keep it classy and let's talk code.

Learn how to build a Theme from scratch, create the folder and the necessary files to install and activate a custom theme.

This tutorials are meant to be a starter help for developers who never used WordPress before and want to learn how to code themes and plugins without using pre-coded assets.

Рекомендации по теме
Комментарии
Автор

If anyone is reading this and is following the series and is wondering if it is worth watching this much longer live dev session video - the answer is "yes".

TheBeeOBee
Автор

Thanks for the tutorials Alessandro. I'm really sad because I could not be watching you one year age because I'm starting now with the wordpress theme. But you are really really good with this. Please don't stop your tutorials!

arateruel
Автор

Hi Alessandro,
I've been really enjoying these videos. I'm learning all I can about WordPress Development for my job, and your tutorial is helping out greatly! Thank you very much for them.

But I do have to be a little bit nitpicky about part of your code. There're 2 issues I want to point out:

1) While creating the slider, you wanted to add a $count variable to make sure only the first result would get the active class. You first tried to do this in your while-loop, but that didn't work out. Instead you needed to use the $count in your foreach-loop. Using $count in combination with a while-loop is fine, but it makes me cringe to use it with foreach. It's a much better practice to use a for-loop instead.
for( $i=0; $i<count($categories); $i++ ):

2) While creating the grid you first added all the code to index.php. Then you tried to use a content template (content-blog.php), but since it didn't have access to the $column variable, it didn't work. You instead copied the code right back to index.php with the argument that, since the code wasn't that large to begin with, it didn't matter that much. I felt that you took the easy way out without looking to see if there were other options. What I did was keep the div that had the php-variable in my index.php file, and then within that dive I called the remaining content from the template.
<div class="col-xs-<?php echo $column; echo $class; ?>">
<?php get_template_part( 'content', 'blog' ); ?>
</div>

OcenaStrex
Автор

Nice work. I actually built a BS carousel a few weeks ago using 2 separate loops for the indicators and items.  You showed me a cleaner way to handle that process, thanks!  Keep it up.

markwaters
Автор

Loved both your WordPress Live Development Session.
How do we find out when you are going to have a new WordPress Live Development Session for us to join in on?

scottsplettstoeszer
Автор

Now I'am also done and "super happy" because everything works fine. Thank u so much! Thumbs up!!

gerdrichter
Автор

Thankyou +Alessandro, you are doing a great favor on thousands of beginners who want to learn theme development, your channel is the only place to learn and grasp everything that needs to be learnt, believe me, when we search for wp theme development, we get all kinds of shit, spread all over the internet. Only you managed to make a series of the most lucid, crystal clear tutorials i've ever seen....I'm ur Big time fan...you saved lots of time.. You'll definitely get over 30k subscriber, for the awesome work you have done..Thanks mate.

thesubinsebastian
Автор

Thank you so much Alessandro Castellani
i had no time to search in wp functions, but you just published everything i need to know,
i have watched half of your videos and going to see the rest, thanks to you i could write just the code i need without having to install hundred of plugins.
there is any chance to speak about woocommerce ?

ZakaGn
Автор

Hi Alex, You are so amazing person explaining everything in detail. and Thanks a lot. By the way, I am watching your videos for the second time. Now, I am exercising everything you are doing. I have also seen the live development. However, i am a problem with a grid system which you were using the bootstrap 3 but now 2019, bootstrap 4. can you help me with this especially with the blog page you have developed in this video. thanks a lot.

dawednesru
Автор

Thank you very much for these videos these are very helpful. My teacher is a big fan of yours and he recommended these lessons, only problem i am facing here is code is getting more and more complex with every video😅 because i am a beginner beginner on wordpress.

muhammadtalharaza
Автор

Thanks for this awesome tutorials Alessandro! Shame i didn't get to watch these 4 years ago~ It would have helped me out a lot back then. Cheers from Venezuela~

ferchains
Автор

Thank you! Great job! I'm going to get a nice hot refill on my coffee and return to explore your other videos. Very much appreciated - sincerely.

lcginternetmarketing
Автор

*resolved* Apparently, changing the version of my CSS file in the enqueue arguments helped... no idea but i figured it out haha.
Hi Alessandro, 24:21, when I update my css file (for background for example), it doesn't change anything on my website despite me having done the wp_enqueue_style in functions.php ! any thought ? there's no typo...

loickiri
Автор

Thanks for these tuts dude. Can't wait to move onto your more advanced 'Premium Theme' set of videos.

charliecoplestone
Автор

Question more related to bootstrap, i thought you needed to have a single row for each 12 grid?? I like this way better. But not really sure what the difference is. Thanks again.Love your course and have shared on some fb groups i belong to A++

Wendym
Автор

Hey Alessandro, Great job on the tutorials man. They are great! I I wanted to ask you, how can we make the grid images to link to the same post page as the title?

nimrodbahar
Автор

Great series of tutorials, Alessandro. Thanks for your efforts!

JeffSFO
Автор

Tip: In the bullet variable, you can insert an if else statement using a shorthand format. E.g., $bullet .= '<li data-slide-to="' . $count . '" class=" ' . (($count == 0)?'active':' ') . ' "></li>';

jedidiha
Автор

Hi
at first thank you for your amazing tutorials.
i would like to ask you,
I am your WordPress 101 series follower. i have notice that, there have lots of changes after part7 or part8.
so should i follow all the live development session for those?
Thank You

khojkori
Автор

Hi. These are great videos. Thanks for taking the time to make these. Did you learn everything yourself, or did you pay for official education, courses, etc?

joelboldero