Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #16196

    Hi there.

    I was wondering, seeing as the entries are custom post types, would it be possible to make a timeline for the portfolio?

    If so, any idea? I suppose it would have to be made to fetch only custom portfolio posts but I honestly don’t know how to do that.

    Thanks :)


    Hi OttoRobba,

    In order to do a timeline, I believe the easiest option would be to use a plugin. Here’s a Google search:




    I was thinking of using the default timeline template that is included with the theme. If that is not possible, one of the plugins seems to do the trick – quite like the Choice’s timeline though. :)


    Hi OttoRobba,

    D’oh. Sorry, I forgot all about the built-in timeline. :)

    To do a timeline for the portfolio:

    1) Open template-post-timeline.php, save as template-portfolio-timeline.php

    2) At the top template-portfolio-timeline.php replace

    Template Name: Post Timeline


    Template Name: Portfolio Timeline

    3) Replace this line


    with this line

    query_posts(array('post_type' => 'portfolio','posts_per_page'=>-1));

    4) Upload your new template to the theme directory then go to Pages > Your Timeline Page and select Portfolio Timeline from the drop down list under “Templates” in the “Page Attributes” box.

    That’s it.




    Exactly what I was looking for!

    Thank you so much Mya, works like a charm :)



    Glad it worked. :)



Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Using the Timeline for portfolio posts’ is closed to new replies.