The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › WP: template_directory vs TEMPLATEPATH
Re-styling some pre-existing themes for a client, and noticed a coding difference between two of them.
Whats the difference between using
Likewise one has
and the other
I think ‘TEMPLATEPATH’ is the old way it was done and that you should be using bloginfo for everything now.
‘stylesheet_url’ is just a quicker way to link up your styles.css.