WordPress.org

Ready to get started?Download WordPress

Forums

Easing Slider "Lite"
[resolved] Menus stop working with slider in header (3 posts)

  1. I placed this code in my header.php

    <?php if (function_exists('easing_slider')){ easing_slider(); }; ?>

    but then my menus stop working. Is there some jquery that I can change to get the menus to function properly? The slider is working, though!

    http://wordpress.org/extend/plugins/easing-slider/

  2. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Sounds like jQuery is being incorrectly loaded a second time by your theme/another plugin. Have you tried disabling your other active plugins to confirm the issue still occurs? If so, ensure the theme is loading jQuery using this PHP function (rather than loading it using a hardcoded <script>):

    function theme_load_jquery() {
        wp_enqueue_script('jquery');
    }
    add_action('wp_head', 'theme_load_jquery');

    Using this PHP method ensures that jQuery is only ever loaded once, thus avoiding issues caused by loading it twice or more.

    If after this you're still having trouble, feel free to link me to your site and I'll take a quick look for you.

  3. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi again, going to mark this as resolved but feel free to get back in contact if support is still required :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.