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 Setup a Bootstrap Theme Create the Basic WordPress Theme Files

nick brown
nick brown
502 Points

PHP get header doesnt work as shown

PHP get header doesnt work as shown

<?php get_header(): ?

1 Answer

Joe Schultz
Joe Schultz
6,191 Points

You need to end the get_header() command with a semicolon (;) and not a colon (:). Also close out the php with ?>. It should look something like this:

<?php get_header(); ?>

Hope this helps!