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 Customizing the WordPress Admin Area Admin Color Schemes Customizing Admin Color Schemes from Scratch

Stavros Sofroniadis
PLUS
Stavros Sofroniadis
Courses Plus Student 1,503 Points

About function $theme_dir = get_stylesheet_directory_uri();

in the video tutorial https://teamtreehouse.com/library/customizing-the-wordpress-admin-area/admin-color-schemes/customizing-admin-color-schemes-from-scratch

in his example uses in php file a variable named $theme_dir , then load the function get_stylesheet_directory_uri(); and the result is assigned to the variable(theme_dir)

In few words we load our css folder(that contains every related file) and assigned to a variable named $theme_dir.

Please correct if not ok,

Why dont load instaed of css directory css file?

Thank You,,

W