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 From Bootstrap to WordPress Template: Part 2

Jason Moore
PLUS
Jason Moore
Courses Plus Student 10,297 Points

Two of the questions keep marking me wrong, and I am pretty sure my answers are correct.

Question:

  1. 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:

  1. 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

Q1: No semicolon at the end Q2: archive.php like Greg mention. No spaces.

Samuel Allemang
Samuel Allemang
28,116 Points

These are both correct, I just got stuck by the same questions a few times before guessing the expected answer.

I think others are experiencing the same issue Jason. 1. Looks correct. 2. Appears correct as well.

Greg Stellato
Greg Stellato
7,192 Points

The second is archive.php

Jason Moore
Jason Moore
Courses Plus Student 10,297 Points

I tried both archive and archive.php. I assume it's a problem with the website.

Greg Stellato
Greg Stellato
7,192 Points

Hmm. Did you have a space after .php? It worked for me when I took the test a few days back.