Thanks to the folks over at Digging into WordPress you can now see all three of the ways to reset the WP Loop when you're working with multiple loops in a single template.
I'm very excited to announce that my latest WordPress videos are up on Treehouse for the How to Build a WordPress Theme project. The latest stage is called WordPress Theme Functions. Here are some of the things we cover: WordPress Variables, Tags and Functions An overview of the WordPress Loop How to code the WordPress … Continue reading New WordPress Theme Functions Video Tutorials on Treehouse
There are some times when you want to test for the post type of an item in your loop. You may use this in your functions.php file for taking dynamic actions for custom post types, or you may need to use it directly in your template. Either way, here is how you would save the … Continue reading How to Get Post Type within WordPress Loop