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

Difference between using import @ vs function .php

WP codex suggests using wp_enqueue_style() to enqueue the parent stylesheet, using functions.php. Sounds a bit more complicated, but could probably figure out. Does it work just as well to do the @import method to import parent themes css? Just curious what difference is and whether one method should ideally be used over the other.

1 Answer