If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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. :)
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.
The topic ‘Using the Timeline for portfolio posts’ is closed to new replies.