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 trialJason Moore
Courses Plus Student 10,297 PointsTwo of the questions keep marking me wrong, and I am pretty sure my answers are correct.
Question:
- Write out the function and parameter needed to enable featured images in a WordPress theme:_____________ Answer: add_theme_support( 'post-thumbnails' ); Is this wrong?
Question:
- The _________ template file controls the blog archive page. Answer: archive Is this also wrong?
I can't find anything that says otherwise. Please help, as I have been stuck here for a long time.
Thanks.
4 Answers
Sarn P
23,793 PointsQ1: No semicolon at the end Q2: archive.php like Greg mention. No spaces.
Stef Serafin
967 PointsI think others are experiencing the same issue Jason. 1. Looks correct. 2. Appears correct as well.
Greg Stellato
7,192 PointsThe second is archive.php
Jason Moore
Courses Plus Student 10,297 PointsI tried both archive and archive.php. I assume it's a problem with the website.
Greg Stellato
7,192 PointsHmm. Did you have a space after .php? It worked for me when I took the test a few days back.
Samuel Allemang
28,116 PointsSamuel Allemang
28,116 PointsThese are both correct, I just got stuck by the same questions a few times before guessing the expected answer.