Build Your Own Business Website header image

WordPress Secondary Loops

Part 2 – Add the Magazine Style Loops to the Front Page

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now we’re going to begin working on customizing the front page template using Genesis child theme options. This actually starts off fairly easily with a custom loop that we created in Lesson 6. We created this custom loop that displayed portfolio items and this is secondary loops. So the query args in this case were

Part 7 – Example #5 – Create a Grid of Portfolio Images

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

You just learned how to display a grid of custom posts on the Front Page of a Genesis website. And, we did that on one of our member’s sites, Design On Media but this is not actually what he wants. He just wants the images with the titles. To make those changes we're just going

Part 6 – Example #4 – Display a Grid of Custom Posts on the Front Page

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now that we have the system for adding a grid of post thumbnails to the front page in Genesis, the next thing we’re going to do is to display a grid of custom posts on the front page. And I’m going to do that for one of our member’s sites, Design on Media. He's got

Part 5 – Example #3 – Create a Grid of Post Thumbnails in Genesis

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing we're going to do in this lesson on Using Secondary Loops to Customize the Genesis Theme with PHP is use the same system that we used to create a list of posts from a single category to create a grid of post images. I'm going to copy this function and paste it.

Part 4 – Example #2 – Add Links to the List of Posts from a Single Category

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

At this point in this lesson on Using Secondary Loops to Customize Genesis with PHP we have created a function to add a lists of posts from a single category and we’ve examined secondary loops in detail. So now that we've done that, let's make the function we created a little bit more useful. One

Part 3 – Anatomy of a Secondary WordPress Loop

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

We've created a function to Add a List of Posts From a Single Category and we've hooked that function to a specific place in Genesis. That's what we do with all functions, whatever it is we're trying to do inside of a function, and we hook it into a specific location. So we've done that.

Part 2 – Example #1 – Add a List of Posts from a Single Category

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now that we’ve talked about the different kinds of WordPress Loops and what they do, it’s time to look at the way all the loops work both primary and secondary. We’re going to begin talking about this by looking at the wordpress.org codex under Class Reference/WP Query. The way that works is with this WP_Query class.

Part 1 – What is a WordPress Loop?

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

We are going to talk about Genesis Custom Loops in this fourth lesson on Customizing the Genesis Theme. This topic is considerably more complicated or more advanced than what we covered in the Introduction to PHP for Genesis, Using Custom Sidebars in Genesis and Creating Custom Page Templates in Genesis. Before we begin talking about

Lesson 6 – Using Secondary WordPress Loops

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

This is the sixth lesson in our Customize Genesis Like a Pro video tutorial course but it's also the fourth lesson on how to customize the Genesis Theme using PHP. Here you'll learn how to use Secondary WordPress Loops. We begin with what a WordPress Loop is and how it works. We show several ways to create a them and what parts they are

Lesson 14 – Part 6 – Ex. #4 – Make the Loop Shortcode Configurable

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects - ,

Applies to -

What you're going to have to do in this situation is write a function for each one of these things you want to do for your Thesis theme website. If you want to do one for Apples and one for Bananas then you have to write another function for Bananas and create another shortcode. That's

Lesson 14 – Part 5 – Ex. #3 – Create a grid of Thesis Post Thumbnails

Difficulty Level -

Filed Under Topics - , , , , ,

Listed Under Lesson Subjects -

Applies to -

The next thing we're going to do is look at our example number 3 where we are going to create a grid of Thesis post thumbnails. Each one of the images in that thumbnail is going to link off to its post. When we do that, we are going to be using the Thesis theme

Lesson 14 – Part 4 – Ex. #2 – Create a Shortcode for the List

Difficulty Level -

Filed Under Topics - , , , , ,

Listed Under Lesson Subjects -

Applies to -

For the first couple of years I programmed in the Thesis theme, this is how I did it. I did an add_action, I hooked it to a Thesis hook and went on my way. But it would be way better rather than having to add this way after the content if I was able to

Lesson 14 – Part 3 – Ex. #1 – Add a List of Post Teasers From a Single Category

Difficulty Level -

Filed Under Topics - , , , ,

Listed Under Lesson Subjects -

Applies to -

We’re at part 3 of Using Secondary WordPress Loops in the Thesis theme. I've got this site that I've created for the purpose of demonstrating adding a list of post teasers. It has 3 categories of posts, it has Oranges, Bananas and Cherries. It also has Apples and the Apples aren't in that list. Actually,

Lesson 14 – Part 2 – Anatomy of a Secondary WordPress Loop

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Next in this lesson on using secondary WordPress loops with the Thesis theme, we’ll talk about the anatomy of a secondary loop. It's important to understand that there are actually several ways to create loops in WordPress. In fact, if you have paid attention to what I've taught of the last couple of years, you're

Lesson 14 – Part 1 – What is a WordPress Loop?

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects - ,

Applies to -

Good morning everybody and welcome to Lesson 14 of our Customize Thesis Like a Pro series. Today, we're going to be talking about using secondary WordPress loops with the Thesis theme. In WordPress, the loop is the process of getting information from the database and displaying that information on the page. We have simple loops

Lesson 14 – Using Secondary WordPress Loops

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

In this Thesis theme video tutorial lesson of our Customize Thesis Like a Pro course you will learn how to use secondary WordPress Loops. We begin by explaining the WordPress Loop system, discuss both the main and secondary loops and show examples of these. Then we examine the anatomy of secondary WordPress loops including ways to create