I bet you often wish to influence the settings like “Posts per page”, or order your posts by count of your comments, not only by post date. Well, especially for this behavior we developed our “Fresh Custom Loops” plugin. Firstly let me explain you the WordPress loop, and then I’ll tell you more about the custom loops.
How WP Loops works
For better example, say that you are exploring your category “Uncategorized” as a standard visitor. These actions happens
1.) WP translates URL ( http://yoursite.com/?cat=uncategorized ) to internal QUERY (get all posts from category uncategorized).
2.) Then WP add conditions like “We are at the first page, so show only first 5 posts”
3.) Then WP actually get the right posts based on these conditions
4.) Then are the posts Printed
How our Fresh Custom Loops works
It influence step 2. So you can add unlimited amount of your own conditions, like:
- Number of posts per page
- How to sort the posts
- Include or exclude posts from specific category
- And many others
This could be done in WP Admin -> Appearance -> Custom Loops
Obviously you want to apply these settings only at specific pages, thats why we developed our Conditional Logic system, which allows you to specify the exact page, where you want to influence the loop.
So just use our Fresh Custom Loops plugin, delivered for free with our themes