page loaded twice in my post using jquery UI tabs
-
hello,
I would highly appreciate some help. I don’t know why my wordpress page is loading twice when I use jQuery UI tabs.
Yes, it sounds strange, you can take a look to this page that work:
https://lully.snv.jussieu.fr/gbif/wordpress_pere/?page_id=1178&action=add_meta2
and this one, that does not:
https://www.gbif.fr/?page_id=993&action=adding
The code is the same in both servers, so I have to suppose that there is something different on the wordpress configuration (??).
I removed some plugins without success.In the header.php I simply put…
if ($_GET[‘action’]==’adding’)
{ wp_enqueue_script(‘jquery’,get_bloginfo(‘template_directory’) . ‘/metadata/jqueries/jquery.js’);
wp_enqueue_script(‘ui_tabs2’,get_bloginfo(‘template_directory’) . ‘/metadata/jqueries/ui_tabs.js’);
wp_enqueue_script(‘ui’,get_bloginfo(‘template_directory’) . ‘/metadata/jqueries/jquery-ui-1.8.custom.min.js’);
}
wp_head()Any idea what’s going on??
thanks in advance,
Pere
- The topic ‘page loaded twice in my post using jquery UI tabs’ is closed to new replies.