Viewing 2 replies - 1 through 2 (of 2 total)
  • One possible reason: in require you shouldn’t use URL but server path.

    Thread Starter jefpatat

    (@jefpatat)

    makes sense, but I’m still learning, how can I get this path correct, no matter where the code is used. So I do not need to change the code for every page.

    thanks for the quick help

    EDIT: found out myself using

    <?php
    $path = getcwd();
    echo “Your Absoluthe Path is: “;
    echo $path;
    ?>

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

The topic ‘Using themes outside blog’ is closed to new replies.