WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

The Loops

Like Drupal Views but for WordPress, The Loops allows you to query the database for content and display it in a page without having to write php code.

How to use?

Click on the 'Loops' link in the 'Appearance' menu, click 'Add New' to add a new loop. Use the shortcode provided or go to the widgets screen to add the loop to a sidebar.

How to add custom templates?

Copy a default template file from the directory 'tl-templates' in the plugin directory to your theme directory. Then feel free to modify it to your liking!

Copy a default template file from the directory 'tl-templates' in the plugin directory to your theme directory. Then feel free to modify it to your liking!

The template's header must contain the line: * The Loops Template: List of excerpts

How to add register custom templates directories ?

Use a function hooked on filter "tl_templates_directories" eg.

add_filter('tl_templates_directories',my_plugin_tl_templates_directory);

function my_plugin_tl_templates_directory($directories){
    $directories[]=MYPLUGIN_ABSOLUTE_DIR; //change this to the absolute directory you want to be checked for templates
    return $directories;
}

The Loops will then check in MYPLUGIN_ABSOLUTE_DIR if there is valid templates which it can use; and they will be available through The Loops options.

Requires: 3.3 or higher
Compatible up to: 3.9.13
Last Updated: 2 years ago
Active Installs: 600+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,2,2
50,4,2 100,1,1 100,2,2 100,3,3
100,2,2
100,2,2
100,2,2
50,2,1
100,3,3
100,1,1
100,1,1
0,1,0
100,1,1 100,1,1