• Resolved deidrecrawford

    (@deidrecrawford)


    Hello,
    I can’t find where the “jquery.cookie.js” file is kept to change the name to “jquery.cooki.js” as a workaround for an issue I’m having.

    I have looked all over my WordPress and I can see all the different templates, like Header.php, Index.php, etc. but nothing that says jquery.

    I use GoDaddy as my hosting and have my WordPress installed through them – could this cause things to appear (or be located) differently?

    I don’t think this is the issue – I think I must just be looking in the wrong spot, but if so, how do I find my jquery cookie file?

    As a last resort, I can find the jquery cookie file in the zip folder on my computer and I am wondering if I could change the name there and then re-upload the whole WordPress theme with the changed file name, but I’m wondering if that will create more complications?

    I would rather just change the name of the jquery cookie file online since it sounds so simple – I just need to find it. Thank you for any help anyone can provide!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I can find the jquery cookie file in the zip folder on my computer

    I’m assuming the script is being used in a particular theme? Which theme is it?

    Thread Starter deidrecrawford

    (@deidrecrawford)

    It’s the Sight theme by WPShower – it shows up under the “manage themes” page on my admin page. There are photo icons for each theme i have – all 7 of them, since I’ve been experimenting with themes – and all the other headings show up under “templates” (such as header.php, index.php, etc) when you click on theme editor, but there is nothing listed that says jquery.cookie – so I must be looking in the wrong spot.

    In another forum a user had made reference to a “theme directory” which I’m guessing is maybe the “manage themes” page that I have. But still no file anywhere that I can find that says jquery.cookie.

    These are the instructions that someone else posted on a different forum that make perfect sense – but I can’t find anything named jquery.cookie:

    “josiahemsley is right in that you have to change “jquery.cookie.js” to “jquery.cooki.js” and you have to do this in TWO places.

    (1) in the theme directory (wp-content/themes/sight/js) change the filename of “jquery.cookie.js” to “jquery.cooki.js”

    (2) in the theme’s header.php approximately (I changed some of the code above so it will be around this line) line 15 change
    wp_enqueue_script(‘cookie’, get_template_directory_uri() . ‘/js/jquery.cookie.js’, ‘jquery’, false);
    to
    wp_enqueue_script(‘cookie’, get_template_directory_uri() . ‘/js/jquery.cooki.js’, ‘jquery’, false);

    If you do both of these, it should work. I’m using WP 3.2.1.”

    In another forum a user had made reference to a “theme directory” which I’m guessing is maybe the “manage themes” page that I have.

    Your WordPress theme directory is /wp-content/themes

    Your active theme directory (the theme you are currently using) will be /wp-content/themes/sight

    The files you need to change are located here:

    A) /wp-content/themes/sight/js/jquery.cookie.js

    change the file name to jquery.cooki.js

    B) /wp-content/themes/sight/header.php

    change the references to the script found in that file as directed by the instructions you posted above.

    You can’t view the “jquery.cookie.js” file from the built in WordPress editor because the editor can’t open directories. That’s why you can’t see it from the theme editor. You will have to use your ftp client or the file manager in our hosts control panel to change the file name.

    Hope that helps!

    Thread Starter deidrecrawford

    (@deidrecrawford)

    Thank you so much for your help but I’m still not clear where to find the file manager in the host control panel. My wordpress site is hosted via GoDaddy.com – do you know if I need to call GoDaddy.com since they are hosting my website and maybe it’s something only they have access to?

    I haven’t ever had to ftp any wordpress folders – I simply click on “Install Themes” to install the zip folder and then “Activate” and that’s it. Thank you for any help you can provide as I’m rather desperate to fix this.

    Contact support at Godaddy. Ask a service representative to walk you through the features and benefits of your Godaddy hosting plan.

    They should be able to help you with instructions and tutorials on how to access your account, and how to locate and use your control panel tools and file manager.

    Some info on FTP clients that you might find useful.

    Thread Starter deidrecrawford

    (@deidrecrawford)

    Thank you so much for your help! I didn’t have to contact them – was able to go into my Godaddy website and easily find the folders I needed. I am very familiar with FTP’ing but the way my WP is set up it isn’t required so I just didn’t know where to find the folders – once you confirmed they were on Godaddy I was able to go in and easily make the change!

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't find jquery cookie file’ is closed to new replies.