The question is in the title really. What is the difference between blog_info('stylesheet_url') difference get_stylesheet_uri(), and if it's a case that one is newer then which.

The codex says:

'stylesheet_url' - Returns the primary CSS (usually style.css) file URL of the active theme. Consider using get_stylesheet_uri() instead.

1 Answer 1


Actually bloginfo( 'stylesheet_url ) uses get_stylesheet_uri() function, so there is no difference. get_stylesheet_uri() is newer

  • thanks - actually do you have any idea why they'd be bothered writing a new function if there was an old one there that did the job - less typing ? Commented Sep 2, 2011 at 14:32
  • 1
    You're very welcome. I think they did this because of better performance.
    – Mamaduka
    Commented Sep 2, 2011 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.