Is this correct? regarding paths in themes
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is this correct? regarding paths in themes’ is closed to new replies.