If you ever need to output the absolute directory path, just use

<?php echo get_stylesheet_directory(); ?>

This will output the hosting absolute path rather than a URL.

If you want the URI just make a minor change by adding uri like so.

<?php echo get_stylesheet_directory_uri(); ?>

Comments are closed.