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 trialJeesun Kim
4,866 PointsConvert Custom Post Type Details Template - How do I get "Go Back to Previous Page" Link?
This is not discussed in the wordpress tutorials but I thought it would be good to have a link that would go to a previous page. I have been going through wordpress codex and I can't seem to find the right codex or what to put for a link that would go back to previous page.
I think bloginfo() is the right one to use but I can't seem to find what to put inside of bloginfo()...
2 Answers
Matt Campbell
9,767 Pointshttp://css-tricks.com/snippets/javascript/go-back-button/
Look at the PHP version here.
Zac Gordon
Treehouse Guest TeacherThis may also be helpful for you :)
Jeesun Kim
4,866 PointsJeesun Kim
4,866 PointsThank you Matthew! It worked!