• djr3110

    (@djr3110)


    Hi is there a plugin or hack that will allow me to have a start and end date for a post? What I want to do is automatically schedule content to be published and unpublished?

    Anyone?

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • *bump*
    Looking for the exact same thing, except for the schedule part.
    I have am working on a biography site for a client, and he has one-time jobs in his CV as well as jobs that lasted for months.
    Example: in a “Event Moderation” category there are all kinds of events that he moderated. Here my theme puts the date behind the title, all is fine.
    But he also worked as a tv-moderator from 2002-2005. I want to put this time period behind the title.

    Should I use a custom field? Or is there an elegant plugin?

    Okay, I did it with a custom field.
    I call it “endet” (which means “ends” in german ?? )

    $endet = implode(get_post_custom_values('endet'));
    	if ($endet){$endet=" - ".$endet;}

    This pulls the variable from the post and converts it to a string, because it is an array initially.
    Then, where you output the time, add the “endet” variable:
    <?php the_time('j. F Y'); ?><?php echo $endet; ?>

    That’s all I needed, hope you can use it too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Schedule Post to Stop’ is closed to new replies.