Treehouse: Grow your CSS skills. Land your dream job.

WP: template_directory vs TEMPLATEPATH

  • # May 11, 2011 at 2:22 am

    Re-styling some pre-existing themes for a client, and noticed a coding difference between two of them.
    Whats the difference between using

    and using

    Likewise one has

    and the other

    # May 11, 2011 at 11:41 am

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.