Support » Fixing WordPress » Jquery Not Working

  • sangram.patra

    (@sangrampatra)


    Any is there..

    I think no one is not responsible for this bug.

    Jquery is not working..

    Please help me..

    function my_theme_scripts() {
    wp_enqueue_script( ‘jquery’ );
    }

    add_action(‘init’, ‘my_theme_scripts’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Jquery is working on thousands of other 3.3.1 WordPress sites, so this seems specific to your site. Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    sangram.patra

    (@sangrampatra)

    Sorry,,,,,,

    I have done all above steps..

    But there is another problems..

    Means…

    If i wrting wp actions to includes js files and wrting some code in javascript in between <script> tag in same plugin .php file then it will not working.If make another js file to include that js file and write contents of your javascript in that file then it will working fine…

    Thanks a lot Esmi…

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