Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Portfolio Single Page

Add dynamic link to the grid overview

Hi,

is there a way to include a dynamic link to the grid overview?

With the solotion in the video the ID of the page is hardcoded to the template. If I use this theme in different sites the ID uf the portfolio site will change.

Mike

Paul Roberts
Paul Roberts
7,928 Points

Hi Michael,

The link to the grid overview is a type of dynamic link. When using this code/theme for another portfolio site, you will need to find the ID of the page of the gallery.

This is explained by Zac in this video (Creating a Portfolio Single Page) at 9 minutes and 15 seconds.

Hope this helps :)