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!

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 WordPress Theme Development Finishing Your WordPress Theme Adding Widget Areas to a WordPress Theme

Is the syntax missing a </div> on the archive.php file?

Upon inspecting the archive.php file and properly indenting the divs, I noticed that there appears to be a missing closing </div>.

Am I wrong?

2 Answers

you sure the closing </div> is not in the footer.php or maybe in any other file that's included in archive.php?

You are quite right! I had to add it after "? php get_sidebar(); ?" on line 47 in order for the Sidebar to show up properly on the "uncategorized" page. Thanks for pointing this out.