Languages: English • Reference/get stylesheet uri 日本語 (Add your language)
Retrieves the URI of the current theme stylesheet.
The stylesheet file name is 'style.css' which is appended to get_stylesheet_directory_uri() path.
<?php get_stylesheet_uri(); ?>
None.
To output the URL
<?php echo get_stylesheet_uri(); ?>
Since: 1.5.0
get_stylesheet_uri() is located in wp-includes/theme.php
.
Theme paths: get_template(), get_template_directory(), get_template_directory_uri(), get_theme_roots(), get_theme_root(), get_theme_root_uri(), get_stylesheet(), get_stylesheet_uri(), get_stylesheet_directory(), get_stylesheet_directory_uri(), get_bloginfo(), get_theme_file_uri(), get_theme_file_path()