Posts Tagged ‘mod’

How to Time Delay Posts in Wordpress

Saturday, March 8th, 2008

One reason I’ve heard people say that they prefer a full-blown CMS to Wordpress is that Wordpress doesn’t allow time delayed posting. I was about to figure out a way to mod Wordpress to make this possible - until I realized that there is some decent built-in functionality for time delaying.

You can easily delay the release of your posts into the main indexes (front page, archives, “Recent Posts” list, etc). With a little bit of code, you can also restrict people from viewing the page before its appointed “Published” date.
(more…)

Add Custom Loops (Queries) to Wordpress

Sunday, March 2nd, 2008

If you look at your Wordpress template, the thing that drives your page is called “the loop.” That’s Wordpress speak for looping through the result set (the posts) retrieved from the database.

If you wanted to make custom queries, you could certainly do that by diving straight into the database. However, Wordpress comes with some built in functions for helping you query the database and display the results. By using these template tags, you can add custom loops in your template to display other post information.
(more…)