Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Loading Jquery in the Blank theme from digwp.com

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #30299
    johnnydugs
    Member

    hello world,

    i am working my new personal site and i am having problems loading jquery. I am working off the Blank theme (version 1-1) from digwp.com. this theme calls jquery from google in the functions.php file. however, when i create a simple alert to test if jquery is loading properly, nothing happens. all of my plugins are disabled… so it shoudn’t be a conflict issue. has anyone come accross an error with this theme? I am very much a work in progress with jquery and I only know enough php to modify the basics in wp… so any help would be greatly appreciated.

    url: http://www.john-dugan.com

    thx again!

    #79443
    hydrozova
    Member

    hi john,

    Do 1 thing comment that jquery code which is in functions.php file.
    and try to insert jquery from header.php .. may be it will help you..

    Thanks,
    Vijay

    #79444
    johnnydugs
    Member

    no dice :(

    #79437
    johnnydugs
    Member

    when i look in firebug i can see that it is loading my js file (bookmarks.js) that i placed in the head section. i just don’t know why this file – nor the basic alert i previously created – is working? It must be because jquery is not being properly loaded correct? …or could it have anything to do with this chunk of code in the functions.php file?

    	// Clean up the 
    function removeHeadLinks() {
    remove_action('wp_head', 'rsd_link');
    remove_action('wp_head', 'wlwmanifest_link');
    }
    add_action('init', 'removeHeadLinks');
    remove_action('wp_head', 'wp_generator');
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.