• Resolved amst3l

    (@amst3l)


    I got this really strange error in my code. When i use <?php echo get_option(‘home’); ?> it outputs the correct url: https://localhost/projecten/wordpress-scm

    But when I use <?php echo get_template_directory(); ?>
    I get this: F:\xampp\htdocs\projecten\wordpress-scm in front of my code. How can i fix this? I’ve stuck on this all afternoon already.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Relative path for images’ is closed to new replies.