Support » Fixing WordPress » url paths

  • Hi,
    I am embarrassed to write this but I am afraid that I have to ask the question. I am having a problem writing a <src = “path”> in order to access a folder with some jQuery function.

    I am using WordPress>WP-Content>Themes>Twentythirteen

    Now these are the two files I want to access.

    <script src=”jquery.min.js”></script>
    <script src=”jquery.js”></script>

    These are in a folder called jqfloat

    So the folder situation is like this:

    Folder Layout:

    Site Folder
    -WP Content
    –Themes
    —Twentythirteen
    —-css
    —-fonts
    —-jqfloat
    ——jqfloat.min.js
    ——jqfloat.js
    —-js
    —-languages
    —-file 1
    —-file 2
    —-file 4
    —-header.php
    —-more files

    So what I want to do is to call the files from the header.php file using the <src> tag in order to read the program/functions in jqfloat.min.js and jqfloat.js

    So my code in the head section of the header is like this:

    <script src=”/jqfloat/jquery.min.js”></script>
    <script src=”/jqfloat/jquery.js”></script>

    Now I probably should have paid more attention to this in class, unfortunately I did not. But this is one of those things that can be head wrecking. Anybody out there willing to help me. Thanks

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    Now these are the two files I want to access

    jQuery is loaded by default in WordPress. You do not need to load it again.

Viewing 1 replies (of 1 total)
  • The topic ‘url paths’ is closed to new replies.