The WordPress Loop 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.
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!
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 .
WordPress Loop is truly an all-in-one solution for displaying your content on your site.
View the FAQ section for more info on how to use WordPress Loop.
Download
Requires at-least: 2.9
Latest version: WordPress Loop v0.4 [zip] (1339)
Links
Installation
- Upload ‘wordpress-loop’ to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the Plugins menu in WordPress.
- Go to Appearance > Widgets and place the WordPress Loop widget where you want.
FAQ
Q. How does this widget work?
A. The WordPress Loop utilizes the WP_Query class to generate the widget loops. You can see a list of $args at the query_posts() codex page. The WordPress Loop widget also makes use of the action hooks and filters for advance customization.
Q. What are the available shortcodes in this widget?
A. The before_content and after_content sections may contain shortcodes.
In addition, the WordPress Loop widget comes bundled with:
[title]– Displays the title of the post.[author]– Displays the author of the post.[date]– Displays the date the post was published.[time]– Displays the time of day the post was posted.[last_modified]– Displays the date the post was last modified.[comments]– Displays the comment count of the post.[cats]– Displays all categories (in a comma seperated link format) associated with the post.[tags]– Displays any tags (in a comma seperated link format) associated with the post.[tax]– Displays all taxonomies (in a comma seperated link format) associated with the post.[edit]– Displays the edit link to edit the post.
Q. What hooks are available in this widget?
A. The WordPress Loop has several action hooks available throughout the loop process:
before_loop– At the beginning of the loopthe_loop– In the loop, after all the contentin_the_loop_x– In the loop, after the.hentrydiv. Replace x with the number position you want to insert content intoafter_loop– At the ending of the looploop_404– When the loop can’t find any post
In addition, it also has several filter hooks where you can modify the content’s output:
wl_the_content– The post contentwl_postmeta– The text of thebefore_contentandafter_contentwidget settingswl_entry_title– The post titlewl_entry_author– The post authorwl_entry_date– The datewl_entry_time– the time of day the post was postedwl_entry_last_modified– The date the post was last modified.wl_entry_comments– The comment count of the post.wl_entry_cats– Categories (in a comma seperated link format) associated with the post.wl_entry_tags– Tags (in a comma seperated link format) associated with the post.wl_entry_tax– Taxonomies (in a comma seperated link format) associated with the post.wl_entry_edit– The edit link to edit the post.