tags:

views:

22

answers:

1

Where in WordPress is TEMPLATEPATH initially set?

A: 

It points to the template of your wordpress that is active.

<?php echo TEMPLATEPATH; ?>

This will give you the actual path.

Incase you are using a child theme, then this points to the childtheme. This is really handy because...

bloginfo('template_url')

This doesn't point to the child theme and creates problem for new developers using child theme.

esafwan