Thanks for the tutorial. I'm a little confused by your implementation of the blog post loop at 52:50. Specifically, why does the while loop need to be encased in the if statement, and what role does the the_post() function play?
@GallTheAbsurd The idea of the loop if statement is to make sure there is content before even trying to run the functions (costly on performance). The the_post function gives us access to the individual parts of the given post (the_title, for example). As a sidenote, if you didn't run if or while statements and just had the_post, you would see the same results because, as I said, that's the bit that gives us access to the data.
NO one not even me will stay this long but good work dude all though I know of an easier and faster way to create a wordpress theme using html inside of he .php files.
@Mastersun88 When you watch later videos, you'll see that I use HTML between the WP functions because otherwise there would be nothing to attach the CSS to.
Special shout out to Tom Rodgers thank you for your knowledge please continue to make these great video's
jdmiller1992 3 weeks ago
thanks heaps for the video mate!
madvk308 3 months ago
Just what I've been looking for! Thanks Tom, great intro into building a WP site.
JamesNewall79 4 months ago
lol@ my silly comment on apple future interests in the Tablet market, boy was I wrong!
chlorophylfactor 5 months ago in playlist Designing A WordPress Theme: A Complete Guide
i just wasted 1hr of my time thanks
ItsTripWire 6 months ago
Thanks for the tutorial. I'm a little confused by your implementation of the blog post loop at 52:50. Specifically, why does the while loop need to be encased in the if statement, and what role does the the_post() function play?
GallTheAbsurd 6 months ago
@GallTheAbsurd The idea of the loop if statement is to make sure there is content before even trying to run the functions (costly on performance). The the_post function gives us access to the individual parts of the given post (the_title, for example). As a sidenote, if you didn't run if or while statements and just had the_post, you would see the same results because, as I said, that's the bit that gives us access to the data.
tomrogers123 6 months ago
omg and hour
noobtuber991 6 months ago
you are the best always just keep up bro...
rockomoron 6 months ago
Dude I wish I was as smart as u
Bcarreon2 6 months ago
this I need to watch it carefully. good luck with the next videos!
artemeeb 6 months ago
NO one not even me will stay this long but good work dude all though I know of an easier and faster way to create a wordpress theme using html inside of he .php files.
Mastersun88 6 months ago
@Mastersun88 When you watch later videos, you'll see that I use HTML between the WP functions because otherwise there would be nothing to attach the CSS to.
tomrogers123 6 months ago
@Mastersun88 I've seen the full video, I have so much doubts so I come back all the time, I also love the sound, it's very relaxing
SnoopyReloaded 6 months ago
Thanks for this Tom, it's helped me loads! Cheers! :)
stardale02 6 months ago