Articles tagged with “loops”
- Horizontally Sequenced Display Order for WordPress Posts in Two Columns
- Most WordPress-powered blogs display posts in sequential order within a single column. Like this, for example (note: I don’t know how well the formatting will be preserved in your feed reader — please check original post for clarity):
. . .
. . .
. . .
. .
. . .
. . .
. . ...
- 6 Ways to Customize WordPress Post Order
- Recently, reader Luke Knowles asked how to customize the sort order of his posts in WordPress. Looking into a solution to this question proved quite enlightening. Within moments I was able to discern 4 methods for modifying post order, and then several days later I discovered 2 additional custom sorting techniques. After updating the ...
- Easily Adaptable WordPress Loop Templates
- In this article, I present several heavily commented examples of WordPress loops. I have found that many readers appreciate these types of loop examples, as it helps them to understand how the loop works while enabling them to easily copy, paste, and adapt the code for their own purposes. In our first example, we examine a basic WordPress ...
- Super Loop: Exclude Specific Categories and Display any Number of Posts
- [ Keywords: wordpress, loop, have_posts, category, categories, post, posts, asides, excerpts ]
Readers occasionally ask for help with their WordPress loops. Usually, these requests involve modifying the loop with some customized functionality. Frequently, such customization involves one of these popular behaviors:
Exclude a specific category
Exclude multiple categories
Display only one post or excerpt
Display some fixed number of ...
- Perishable Press Triple Loop for WordPress
- Two of the themes developed by Perishable Press, Apathy and Information, depend on three WordPress loops to operate as intended. For each of these themes, the three loops consist of two "side" loops and one main loop. The side loops each display posts from one specific category, while the main loop displays posts from every category not specified in the side loops.
There are many different multi-loop configurations ...