[Plugin: WP User Frontend] 2 plugins using 2 versions of jequery = 1 nightmare
-
Hi, I’m new to this forum, I’m coming here because i’m desperate from a very long search for nothing and I need your help !
On a freshly instaled wordpress I have to use two plugins from two different authors. the plugin#1 is a traditional plugin, it can be installed via admin interface. The plugin#2 is only a package of JS and must be installed via hardcode.
So I followed the wordpress codex for the installation of plugin#2:
– I registered the plugin in my funtion.php theme file
– I invoqued the JS using wp_enqueue_script or/and wp_print_scripts in the header.php file.First there is something I don’t understand: I get a different result if I proceed doing the adviced way or if I just write
<script type="text/javascript" src="./jquery/jquery-1.6.2.min.js"></script>
directly in the header.php file
Results:
– If I follow the codex way, the plugin#1 is launched but not the plugin#2– If I directly write <script </script> in the header.php file the plugin#2 is launched but not the plugin#1
– If I write <script </script> in the footer.php file the plugin#1 is launched for a second then it freeze then the plugin#2 is launched
Plugin#2 precision: the plugin is composed by those files:
<script type="text/javascript" src="./jquery/modernizr.custom.26584.js"></script> <script type="text/javascript" src="./jquery/swfobject.js"></script> <script type="text/javascript" src="./js/video_background.min.js"></script> <script type="text/javascript" src="./js/buttons.js"></script> <script src="./js/pngFixer.js"></script>
But the only thing that makes the plugin#1 freeze is when I add the
<script type="text/javascript" src="./jquery/jquery-1.6.2.min.js"></script>
Desperate try: I replace the content of the jquery.js files from the /include folder by the content of the jquery-1.6.2 but it didn’t change a thing
If you have a suggestion of how I can solve my problem I’ll be extremly grateful !
Thank you
- The topic ‘[Plugin: WP User Frontend] 2 plugins using 2 versions of jequery = 1 nightmare’ is closed to new replies.