June 11, 2009

Cool loop hacks for Wordpress

Without the loop, a blog hosted on Wordpress would not be half as good as it is now, but there are a few things that we could do to make the loop work for the blog, to make it a much better and more functional site.

These are known as hacks, but in reality, they are simply ways of making Wordpress work a little bit harder for you.

Here are some of the things that you can make the loop do:

Get Posts Published Between Two Dates
Use More Than One Loop On A Page, Without Printing Duplicate Posts
Insert Ads After The First Post
Get Posts With A Specific Custom Field And Specific Value
List Upcoming Posts
Display Posts Published One Year Ago
Use The Loop To Create An “Archive” Page Template
Create Your Own WordPress Loops Using The WP_Query Object
Get Only The Latest Sticky Posts
Create A Loop Of Images

Source [Smashing Magazine]

Add to Bookmarks:

ADD TO DEL.ICIO.US     ADD TO DIGG     ADD TO FURL

ADD TO STUMBLEUPON     ADD TO YAHOO MYWEB     ADD TO GOOGLE     ADD TO SPURL

Related stories to Cool loop hacks for Wordpress

  • Previous: « What the gadget police use today
    Next: Firefox 3.0.11 welcomes 150 million users »

    Visited 8 times, 1 so far today

    Comments

    Leave a Reply