{"id":7812,"date":"2010-01-24T13:08:32","date_gmt":"2010-01-24T13:08:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wordpress-loop\/"},"modified":"2010-01-26T16:05:56","modified_gmt":"2010-01-26T16:05:56","slug":"wordpress-loop","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wordpress-loop\/","author":235658,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4","stable_tag":"0.4","tested":"2.9.2","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"WordPress Loop Widget","header_author":"Ptah Dunbar","header_description":"","assets_banners_color":"","last_updated":"2010-01-26 16:05:56","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=11341928","header_plugin_uri":"http:\/\/ptahdunbar.com\/plugins\/wordpress-loop\/","header_author_uri":"http:\/\/ptahdunbar.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":8126,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539057","resolution":"1","location":"plugin"}},"screenshots":{"1":"View of the <em>WordPress Loop<\/em> widget settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1346,243,2278,166,162],"plugin_category":[43,50],"plugin_contributors":[78945],"plugin_business_model":[],"class_list":["post-7812","plugin","type-plugin","status-closed","hentry","plugin_tags-attachments","plugin_tags-pages","plugin_tags-post-types","plugin_tags-posts","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_contributors-ptahdunbar","plugin_committers-ptahdunbar"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wordpress-loop.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wordpress-loop\/trunk\/screenshot-1.png?rev=1539057","caption":"View of the <em>WordPress Loop<\/em> widget settings."}],"raw_content":"<!--section=description-->\n<p>The <em>WordPress Loop<\/em> widget was written to allow users that don't know their way around PHP to easily show their content in any way they'd like.<\/p>\n\n<p>The widget has over 35 options to choose from. Customize your WordPress loop by one or more post types, categories, tags, custom taxonomies, authors, dates, custom fields, and a whole lot more!<\/p>\n\n<p>In addition, it has support for post thumbnails, sticky posts, pagination, offsetting, customizable content length (by word count), and you can change the ordering from a variety of options. Oh, and you can also customize the .<\/p>\n\n<p><em>WordPress Loop<\/em> is truly an all-in-one solution for displaying your content on your site.<\/p>\n\n<p>View the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wordpress-loop\/faq\/\">FAQ<\/a> section for more info on how to use WordPress Loop.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload 'wordpress-loop' to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the <em>Plugins<\/em> menu in WordPress.<\/li>\n<li>Go to <em>Appearance &gt; Widgets<\/em> and place the <em>WordPress Loop<\/em> widget where you want.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How does this widget work?<\/dt>\n<dd><p>The WordPress Loop utilizes the <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/WP_Query\">WP_Query<\/a> class to generate the widget loops. You can see a list of <code>$args<\/code> at the <a href=\"http:\/\/codex.wordpress.org\/Template_Tags\/query_posts\">query_posts() codex page<\/a>. The WordPress Loop widget also makes use of the <a href=\"http:\/\/codex.wordpress.org\/Plugin_API\">action hooks and filters<\/a> for advance customization.<\/p><\/dd>\n<dt>What are the available shortcodes in this widget?<\/dt>\n<dd><p>The <code>before_content<\/code> and <code>after_content<\/code> sections may contain shortcodes.\nIn addition, the WordPress Loop widget comes bundled with:<\/p>\n\n<ul>\n<li><code>[title]<\/code> - Displays the title of the post.<\/li>\n<li><code>[author]<\/code> - Displays the author of the post.<\/li>\n<li><code>[date]<\/code> - Displays the date the post was published.<\/li>\n<li><code>[time]<\/code> - Displays the time of day the post was posted.<\/li>\n<li><code>[last_modified]<\/code> - Displays the date the post was last modified.<\/li>\n<li><code>[comments]<\/code> - Displays the comment count of the post.<\/li>\n<li><code>[cats]<\/code> - Displays all categories (in a comma seperated link format) associated with the post.<\/li>\n<li><code>[tags]<\/code> - Displays any tags (in a comma seperated link format) associated with the post.<\/li>\n<li><code>[tax]<\/code> - Displays all taxonomies (in a comma seperated link format) associated with the post.<\/li>\n<li><code>[edit]<\/code> - Displays the edit link to edit the post.<\/li>\n<\/ul><\/dd>\n<dt>What hooks are available in this widget?<\/dt>\n<dd><p>The WordPress Loop has several action hooks available throughout the loop process:<\/p>\n\n<ul>\n<li><code>before_loop<\/code> - At the beginning of the loop<\/li>\n<li><code>the_loop<\/code> - In the loop, after all the content<\/li>\n<li><code>in_the_loop_x<\/code> - In the loop, after the <code>.hentry<\/code> div. Replace x with the number position you want to insert content into<\/li>\n<li><code>after_loop<\/code> - At the ending of the loop<\/li>\n<li><code>loop_404<\/code> - When the loop can't find any post<\/li>\n<\/ul>\n\n<p>In addition, it also has several filter hooks where you can modify the content's output:<\/p>\n\n<ul>\n<li><code>wl_the_content<\/code> - The post content<\/li>\n<li><code>wl_postmeta<\/code> - The text of the <code>before_content<\/code> and <code>after_content<\/code> widget settings<\/li>\n<li><code>wl_entry_title<\/code> - The post title<\/li>\n<li><code>wl_entry_author<\/code> - The post author<\/li>\n<li><code>wl_entry_date<\/code> - The date<\/li>\n<li><code>wl_entry_time<\/code> - the time of day the post was posted<\/li>\n<li><code>wl_entry_last_modified<\/code> - The date the post was last modified.<\/li>\n<li><code>wl_entry_comments<\/code> - The comment count of the post.<\/li>\n<li><code>wl_entry_cats<\/code> - Categories (in a comma seperated link format) associated with the post.<\/li>\n<li><code>wl_entry_tags<\/code> - Tags (in a comma seperated link format) associated with the post.<\/li>\n<li><code>wl_entry_tax<\/code> - Taxonomies (in a comma seperated link format) associated with the post.<\/li>\n<li><code>wl_entry_edit<\/code> - The edit link to edit the post.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>0.4<\/strong> <em>(01\/26\/2010)<\/em><\/p>\n\n<pre><code>* ADDED: new checkbox `use $wp_query` overrides all the widget query settings\n* ADDED: new filter hook for `wl_the_content`\n* UPDATED: readme.txt with info on the new `in_the_loop_x` hook from `0.3`\n* UPDATED: updated the default text in `before_content`\n* UPDATED: bug fix for `wl_entry_cats` if terms don't exists\n* UPDATED: bug fix for `wl_entry_tags` if terms don't exists\n* UPDATED: bug fix for `wl_entry_tax` if taxonomies don't exists\n* UPDATED: changed the output of `wp_link_pages()` from `.entry-pages` to `.paged-links`\n* UPDATED: readme.txt with info on all filter hooks + other minor changes.\n<\/code><\/pre>\n\n<p><strong>0.3<\/strong> <em>(01\/26\/2010)<\/em><\/p>\n\n<pre><code>* ADDED: new hook `in_the_loop_x` where x is a non-negative number.\n* ADDED: the post thumbnail image links to the actual post.\n* ADDED: `widget-title` css class to the widget title.\n* UPDATED: `wl_the_content` now wraps excerpts with p tags.\n* UPDATED: all shortcodes and `wl_postmeta` now are filterable.\n<\/code><\/pre>\n\n<p><strong>0.2<\/strong> <em>(01\/25\/2010)<\/em><\/p>\n\n<pre><code>* ADDED: ability to customize the main loop tag (div\/ol\/ul)\n* ADDED: new shortcode [last_modified]\n* UPDATED: readme.txt with more info\n<\/code><\/pre>\n\n<p><strong>0.1<\/strong> <em>(01\/24\/2010)<\/em><\/p>\n\n<pre><code>* Initial release.\n<\/code><\/pre>","raw_excerpt":"A WordPress widget that gives you unprecendeted control over displaying your content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7812","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=7812"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ptahdunbar"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7812"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7812"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7812"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7812"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7812"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}