{"id":15848,"date":"2011-12-30T11:42:37","date_gmt":"2011-12-30T11:42:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/the-loops\/"},"modified":"2019-06-26T22:06:43","modified_gmt":"2019-06-26T22:06:43","slug":"the-loops","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/the-loops\/","author":1138884,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"trunk","tested":"5.2.24","requires":"3.3","requires_php":"5.6","requires_plugins":"","header_name":"The Loops","header_author":"Ulrich Sossou","header_description":"","assets_banners_color":"","last_updated":"2019-06-26 22:06:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/the-loops\/","header_author_uri":"http:\/\/ulrichsossou.com\/","rating":5,"author_block_rating":0,"active_installs":90,"downloads":8835,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.2":"<p>Bug fix.<\/p>","1.0.1":"<p>Bug fix.<\/p>","1.0.0":"<p>New feature: filter hook for other plugins to add template directories.<\/p>","0.4":"<p>New feature: loops of users.<\/p>","0.3":"<p>This version supports all the wordpress post query possibilities and an\nimproved template structure. It is not backward compatible with the\nprevious versions. Check your loops after upgrading.<\/p>","0.2":"<p>New features: custom templates &amp; query by author.<\/p>","0.1":"<p>First release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.3.1","0.4","1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2113274","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2113274","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2113274","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Loops edit screen","2":"Loops edit screen","3":"Loops edit screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[166,80,22048,173234,162],"plugin_category":[43],"plugin_contributors":[172907,173235,79105],"plugin_business_model":[],"class_list":["post-15848","plugin","type-plugin","status-closed","hentry","plugin_tags-posts","plugin_tags-shortcode","plugin_tags-the-loop","plugin_tags-tloops","plugin_tags-widget","plugin_category-customization","plugin_contributors-justinahinon","plugin_contributors-saymar90","plugin_contributors-sorich87","plugin_committers-justinahinon","plugin_committers-sorich87"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/the-loops.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/the-loops\/assets\/screenshot-1.png?rev=2113274","caption":"Loops edit screen"},{"src":"https:\/\/ps.w.org\/the-loops\/assets\/screenshot-2.png?rev=2113274","caption":"Loops edit screen"},{"src":"https:\/\/ps.w.org\/the-loops\/assets\/screenshot-3.png?rev=2113274","caption":"Loops edit screen"}],"raw_content":"<!--section=description-->\n<p>The Loops plugin offers you great flexibility for displaying your site\ncontent and users list. It provides a graphical user interface in your\nWordPress site admin that allows you to query the database for content\nwithout having to write any PHP code or SQL queries.<\/p>\n\n<p>With this plugin, you can display the queried content in a page or post\n(using shortcodes) or a widget.<\/p>\n\n<p><a href=\"https:\/\/profiles.wordpress.org\/sorich87\/#content-plugins\">Check out my other free\nplugins.<\/a><\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Works with any theme without modification<\/li>\n<li>Works with any 'custom post types' plugin<\/li>\n<li>Display list of posts and users with all the possibilities offered by\nWordPress<\/li>\n<li>Custom templates<\/li>\n<li>Display the loops anywhere with a shortcode or a widget<\/li>\n<\/ul>\n\n<h4>Contributors<\/h4>\n\n<p><a href=\"https:\/\/github.com\/sorich87\/the-loops\/contributors\">Contributors are listed\nhere<\/a><\/p>\n\n<h4>Notes<\/h4>\n\n<p>For feature request and bug reports, <a href=\"http:\/\/wordpress.org\/tags\/the-loop?forum_id=10#postform\">please use the\nforums<\/a>.<\/p>\n\n<p>If you are a plugin developer, <a href=\"https:\/\/github.com\/sorich87\/the-loops\">we would like to hear from\nyou<\/a>. Any contribution would be\nvery welcome.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to the \\'Add New\\' plugins screen in your WordPress admin area<\/li>\n<li>Search for \\'The Loops\\'<\/li>\n<li>Click \\'Install Now\\' and activate the plugin<\/li>\n<li>Go the \\'Loops\\' menu under \\'Appearance\\'<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to use?<\/dt>\n<dd><p>Click on the \\'Loops\\' link in the \\'Appearance\\' menu, click \\'Add New\\' to\nadd a new loop. Use the shortcode provided or go to the widgets screen\nto add the loop to a sidebar.<\/p><\/dd>\n<dt>How to add custom templates?<\/dt>\n<dd><p>Copy a default template file from the directory \\'tl-templates\\' in the\nplugin directory to your theme directory. Then feel free to modify it to\nyour liking!<\/p>\n\n<p>Copy a default template file from the directory \\'tl-templates\\' in the\nplugin directory to your theme directory. Then feel free to modify it to\nyour liking!<\/p>\n\n<p>The template\\'s header must contain the line:\n     * The Loops Template: List of excerpts<\/p><\/dd>\n<dt>How to add register custom templates directories ?<\/dt>\n<dd><p>Use a function hooked on filter \\\"tl_templates_directories\\\" eg.<\/p>\n\n<pre><code>add_filter(\\'tl_templates_directories\\',my_plugin_tl_templates_directory);\n\nfunction my_plugin_tl_templates_directory($directories){\n    $directories[]=MYPLUGIN_ABSOLUTE_DIR; \/\/change this to the absolute directory you want to be checked for templates\n    return $directories;\n}\n<\/code><\/pre>\n\n<p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix scripts paths.<\/li>\n<li>Replace deprecated functions.<\/li>\n<li>Improvement: make the plugin ready for translation.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix scripts paths.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Allow other plugins to add template directories with the filter \\'tl_templates_directories\\'.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Lists of users.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Support all the wordpress post query possibilities.<\/li>\n<li>Improved custom templates.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Custom templates.<\/li>\n<li>Query by author.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=15848"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sorich87"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15848"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15848"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15848"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15848"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15848"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}