Developing Themes For WordPress: Part 1
Loading...
2,153
Loading...
Uploader Comments (tomrogers123)
see all
All Comments (16)
-
Special shout out to Tom Rodgers thank you for your knowledge please continue to make these great video's
-
thanks heaps for the video mate!
-
Just what I've been looking for! Thanks Tom, great intro into building a WP site.
-
lol@ my silly comment on apple future interests in the Tablet market, boy was I wrong!
-
i just wasted 1hr of my time thanks
-
@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
-
omg and hour
-
you are the best always just keep up bro...
Loading...
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
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 7 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 7 months ago