From the course: WordPress: Customizing Themes with Genesis

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution

Solution

From the course: WordPress: Customizing Themes with Genesis

Start my 1-month free trial

Solution

(upbeat electronic music) - [Instructor] All right, your challenge was to use the Genesis custom loop to display three posts per page on a category archive. And I mentioned that you could use code, but you didn't have to, so that means there are two possible solutions here, let's take a look. So the first way that you could accomplish this is to create a page and use a custom field with the name of query_args and then pass in your custom arguments. So in this case, I chose category C, and I've got my posts per page set at three. So if we view this page, and actually since these posts are kind of long, I'm going to go to the customizer, theme settings, content archives, and instead of showing the full entry content, I'm going to show excerpts. That is certainly not something you have to do, I just wanted this to be a little bit shorter. So we can see all right, one post, two posts, three posts, and then next page, and of…

Contents