• Resolved t3ch33

    (@t3ch33)


    wp is installed at: domain.com/wp

    so, the theme is located at: domain.com/wp/wp-content/themes/default

    am i correct in stating that if i want to include another file (include.php) in the default theme’s header.php, i would map out the path to the include as if the default theme’s header.php was actually located at domain.com/wp ? … so, if i wanted to include domain.com/wp/include.php, in domain.com/wp/wp-content/themes/default/header.php, the include should read include “include.php” ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you see the theme files of the Default theme, you would see that it is addressed in such manner.

    So yeah, to include

    domain.com/wp/include.php

    You address it as

    include.php

    Thread Starter t3ch33

    (@t3ch33)

    thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is this correct? regarding paths in themes’ is closed to new replies.