WordPress.org

Ready to get started?Download WordPress

Forums

page loaded twice in my post using jquery UI tabs (2 posts)

  1. perikut
    Member
    Posted 2 years ago #

    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:

    http://lully.snv.jussieu.fr/gbif/wordpress_pere/?page_id=1178&action=add_meta2

    and this one, that does not:

    http://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

  2. ktrusak
    Member
    Posted 2 years ago #

    I am having a similar problem. I am using wpsc support tickets inside of WP UI Tabs and it is loading the forms without pressing 'create' as well as some of the wysiwyg editors twice. I put the support tickets on a blank page and it is fine. Is there an easy way to edit how jquery is loaded?

    Hookahi.com/profile

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags