Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kevinandkathi

    (@kevinandkathi)

    One more problem I just noticed, when I go to an event page the map does not load.

    http://www.ofosa.org/wordpress/?event=northwest-pet-and-companion-fair

    hi, I think it’s because is loading another version of jquery – jQuery JavaScript Library v1.4

    also, can you check if your theme header.php does have wp_head() and your footer.php for wp_footer()

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this may explain the different jQuery version some more – http://msyk.es/blog/prevent-jquery-wordpress-theme/

    Thread Starter kevinandkathi

    (@kevinandkathi)

    Yes, I read that article. I was able to fix the problem above by updating the theme but I’m still struggling with other conflicts.

    This is the code in the header.php file:
    // Includes the jQuery framework
    if( !is_admin()){
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’, ($themePath .”js/jquery-1.7.min.js”), false, ‘1.7’);
    wp_enqueue_script(‘jquery’);
    }

    // calls hook to WordPress head functions
    wp_head();
    ?>

    This is the code in the footer.php file:
    <?php wp_footer(); ?>

    Is this a problem because the jquery is hard coded to jquery-1.7min.js? I don’t know how to fix this.

    maybe you need to ask your theme developer’s assistance on how to do this.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Conflict with WP theme’ is closed to new replies.