time range for timeline ?

Posted in: Newspaper
Post count: 79

hello,

I was wondering if there is a way to specify a time range (from – to) for posts (Based on post date) to be displayed in the timeline.

thanks a lot

Post count: 6600

Hi,

Add this code:

<?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago'; ?>

..to loop-timeline.php file like this: http://screencast.com/t/gnLz0I56B
Result: http://screencast.com/t/GJBTBvtaVSm

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.