Expression Engine : Daily posts at specific time

ee_logo2.gif

Problem :

You want to display a particular post everyday but only during a time of the day, very useful when you’ve got a schedule you want to display.

Solution :

Post your entry but make the entry date a fixed one. For example, the post has entry date 2007-01-01 but with the time you want the post to display -> 2007-01-05 01:40 PM

Then in your exp:weblog:entries tag in your template just add the following:

stop_before="2007-01-01 {current_time format="%g:%i %A"}" show_future_entries="yes"
Advertisements

  1. Idetrorce

    very interesting, but I don’t agree with you
    Idetrorce




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



%d bloggers like this: