Viewing 2 replies - 1 through 2 (of 2 total)
  • Use something like:

    <?php echo get_bloginfo('template_directory'); ?>/js/file.js

    That way, if someone renames the theme folder, or has the theme installed in a subdirectory, it’ll still work.

    Thread Starter luckylisbon

    (@luckylisbon)

    I will try.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress paths’ is closed to new replies.