[wp-hackers] getting current user info

Kimmo Suominen kimmo at global-wire.fi
Thu Nov 8 21:05:15 GMT 2007


Look at wp-includes/theme.php (or wp-includes/functions.php on older WP)
for these functions:

    get_stylesheet()
    get_stylesheet_directory()
    get_stylesheet_uri()

    get_template()
    get_template_directory()
    get_template_directory_uri()

Best regards,
+ Kimmo
-- 
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>

On Thu, Nov 08, 2007 at 01:17:45PM -0700, Mindshare Studios wrote:
> Hey thanks to all... I got it working like a charm. Another question, if I
> may:
> 
> Does anyone know how to detect what template the current page uses?
> 
> 
> --Damian



More information about the wp-hackers mailing list