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 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 :)