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 Add Bootstrap JS via the functions.php File

Wordpress 4.2.2 and Conditional Comments for JS

Hi!

I was using wordpress 4.2.2. Enhancement was made for this version https://core.trac.wordpress.org/ticket/16024

You may use wp_enqueue_script instead of wp_register_script now. I tried to use wp_register_script as in lesson and it did not work.