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

Konrad Pilch
Konrad Pilch
2,435 Points

2 challenges

My first challenge is :
When i add theme support, the thumbnail in WP doesnt show, i dont have the box, i even posted whole Zac functions, and the featurete wont show. HOw can i activate it?

My second is:
How can i as with ACF and Custome Posts, which i allready linked them into my portfolio piece and now i gived it the name of ' Link to the page' and when i add the link via the_permalink(); in wp, and click on that what i added, it goes on my index and it adds just the name.

HOw can i make it so when i click on it, it will open the link in the next tab?

1 Answer

kofi amoussou
PLUS
kofi amoussou
Courses Plus Student 7,381 Points

1) you need to call it with ; php the_post_thumbnail() ; ?

2) with custom fields you need to create a field name link in ACF options then call it with php the_field('link'); ? depending on how you named the field