Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress WordPress Theme Development Custom Post Type Templates in WordPress The Portfolio Single Page

kelley riley
kelley riley
3,159 Points

This course really needs to be updated. Click if your Back to Portfolio Link is not working

This course really needs to be updated. It's obviously been ignored by Team Treehouse. Hopefully my code in the comments will help someone.

kelley riley
kelley riley
3,159 Points

Zac explains that you're supposed to use <?php bloginfo_url('url'); ?> to get to the portfolio page. The wordpress codex instructs for this now:

<?php bloginfo('url'); ?>/portfolio">Take Me Back</a>

perhaps you should rewatch that section of the video

6 Answers

Rick Hoekman
Rick Hoekman
9,494 Points

The teacher (Zac) left Treehouse in 2015 so it hasn't been updated since then. I asked Treehouse what the future beholds and got this reply:

"We are currently in the process of going through our Wordpress content to remove any courses that are no longer relevant. We will also be adding and updating materials over the next few months as well. Please be sure to keep an eye on our Roadmap for updates!"

kelley riley
kelley riley
3,159 Points

Thanks for adding this information! I was really excited to learn Wordpress but unfortunately, I've had to use outside tutorials and resources. It's a shame this course got neglected.

Martin Haun
Martin Haun
1,276 Points

Issues and outdated content still here one year later... :/

Andrew Bain
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrew Bain
Front End Web Development Techdegree Student 1,815 Points

It's February 2019 (WP v5.0.3). I really like these videos but they are unfortunately outdated. Any news on when the updated WordPress videos will be released? Thank you.

Rick Hoekman
Rick Hoekman
9,494 Points

I share your sentiments kelley riley, I was working up to the point that I could theme WordPress templates.

Cristinel Laurentiu
Cristinel Laurentiu
1,821 Points

I share the same feelings guys, It's a shame especially for someone with Teamtreehouse reputation. I joined the membership especially for the WordPress track to find out that a lot of things are outdated. As for the course, I thought I might find different standard, I followed a Udemy course that was more easy to understand for basic WordPress Theme development - I don't know about the rest of the courses but The WordPress Theme development it's not explained how it should be from my point of view. Some things are not explained how they should be or at all. I have heard good things about Teamthreehouse but so far I am a bit disappointed. I will stick around a bit more and try to finish the WordPress track but they definitely should do something and update their courses even if some of their teachers are not with them anymore...appologies for the long rant but it's not acceptable to pay for a monthly membership and find a course that has a lot thing out of date.

Cristinel Laurentiu
Cristinel Laurentiu
1,821 Points

And at the same time, he could choose a better-styled theme...those portfolio pages are looking very unprofessional...I know it's a course on development but still displaying those images it's giving me the feeling that it's definitely something wrong with that theme. Just my opinion

Cristinel Laurentiu
Cristinel Laurentiu
1,821 Points

A qusetion..If we don't have to add custom post types code to our theme if I want to give my theme to someone else or sell it, and that someone doesn't have the Custom Post Type UI plugin how will be the portfolio Custom Post Type displayed? Am I missing something or this is a more advanced topic?

Sam Gord
Sam Gord
14,084 Points

open your portfolio page and check the address bar , mine is

http://localhost/php%20for%20wordpress/?page_id=34

and then edit your code like this ->

<a href="<?php bloginfo('url'); ?>/?page_id=34">Back to the Portfolio</a>

it worked for me this way . however , when i changed my permalink setting to post name , i kept getting this 404 error which i couldn't fix even till now! so i reset my permalink setting to plain , and then edited my code this way . hope it helped.

ps : yes i do agree they really need to update this course . this is the first track i started here in treehouse and i'm thinking if other tracks like front end web development or javascript full stack course is up to date or not . hope they are .