Timeline setup

Posted in: Newspaper
Post count: 20

Hello!

I noticed you have a Timeline template setting, but I can’t see how I can call the timeline to show and where. Is it a built in function or requires a plugin?

Thanks
Tamir

Post count: 3343

Hi,
Just create a new page and select this template http://screencast.com/t/jg4sVms8R

Thanks for the message!

Post count: 20

Thank you Marius,
Looks good. It shows all the posts by publication. Can I also select specific categories or tags, or define a timeline of selected posts? (shortcode, custom fields etc?). Also, show a mini thumbnails with each item?

example: http://dev.defense-update.com/thread/jltv
Tamir

Post count: 14

+1

🙂

Post count: 3343

Hi,
At this moment is only a template and don’t have parameters to filter the posts there.

The file where the timeline template are coded is loop-timeline.php you can add there some condition manualy like if you are on a particular page use this filter

if (is_page(2)) {
    query_posts($query_string . '&cat=1,2,3');
}

like here: http://screencast.com/t/SCoFpLdxV

Make some conditions for each timeline page.

To add a thumbnails add this code: the_post_thumbnail('thumbnail'); like here: http://screencast.com/t/SblP5k4aP6K

then add this CSS in Theme panel -> Custom CSS

.timeline .wp-post-image {
    padding-right: 10px;
    width: 40px;
}

Thanks for the message!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.