WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Getting the path (3 posts)

  1. WWDay3
    Member
    Posted 5 years ago #

    Is there a constant, like TEMPLATEPATH, that provides the absolute path to the WP install itself?

  2. WWDay3
    Member
    Posted 5 years ago #

    I found it! WP_CONTENT_DIR suits my purposes.

  3. Maujor
    Member
    Posted 5 years ago #

    Case someone needs detailed information:
    <?php get_bloginfo('url); ?> //echoes absolute path to WP install itself
    See: http://codex.wordpress.org/Template_Tags/get_bloginfo

Topic Closed

This topic has been closed to new replies.

About this Topic