[wp-hackers] getting current user info

Joefish joefish.hackers at feastofcrumbs.com
Thu Nov 8 20:20:59 GMT 2007


On Nov 8, 2007 2:17 PM, Mindshare Studios <info at mindsharestudios.com> 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
>
>

I don't know if there's a function to detect the template file in use,
but there are functions to check for the conditions that cause a
template file to be used:

is_home()
is_paged()
is_single()
is_page()
is_category()
is_month()
is_year()
is_day()

etc.


More information about the wp-hackers mailing list