w3c validator error, jquery function (3 posts)

  1. goses
    Posted 2 years ago #


    I have 4 errors when i validate my site, and i dont know how fix it.
    These errors are from initJQuery() function. Its generated in wp_head(). This function is not necessary to me because i already added jquery.

    i used this:

    remove_action('wp_head', 'jquery');

    but still this function is generated - initJQuery()

    how remove it from wp_head?

  2. Arie Putranto
    Posted 2 years ago #

    AFAIK, WP doesn't have initJQuery() method in it.
    And there's no registered action called 'jquery' on wp_head().
    Also jquery is not loaded by default unless it's load by the theme.

    You may as well check your theme if it loads the iniJquery() method.

  3. goses
    Posted 2 years ago #

    This is not loads by the theme, because i made it from zero.
    Maybe its generated by some plugin. I must check it.

Topic Closed

This topic has been closed to new replies.

About this Topic