ThemeShaper Forums » Thematic

[closed]

Remove the superfish/dropdown js

(4 posts)
  • Started 7 years ago by querl
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. querl
    Member

    hi

    how can i completely remove the three js "hoverIntent", "superfish", "supersubs"?

    the script below does not work.

    thematic 0.9.8

    function childtheme_head_scripts() {
    // Abscence makes the heart grow fonder
    }
    add_filter('thematic_head_scripts','childtheme_head_scripts');
    code

    thx
    pat

    Posted 7 years ago #
  2. works just fine for me.

    maybe also try:

    function clean_header(){
    	remove_action('wp_head','thematic_head_scripts');
    }
    add_action('init','clean_header');
    Posted 7 years ago #
  3. You will have to check the actual source to see if they have been removed. The default CSS will still be invoking the dropdown and that is what you may be seeing.

    Kathy, is there any reason not to use the example below? (just because it is the shortest)

    function childtheme_override_head_scripts() {
        // Abscence makes the heart grow fonder
    }

    All three examples above successfully removed the head scripts for me by the way. ;)

    Posted 7 years ago #
  4. scott- nope. just copied some old code out of one of my themes. wasn't aware there was an override for that.

    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.