Forums

jquery-ui and wp_eunqueue script doesn't work (3 posts)

  1. RiodaV
    Member
    Posted 1 year ago #

    Hello everyone,
    this problem is driving me crazy.
    I'm trying to load the integrated jquery-ui using wp_enqueue_script, but it doesn't load.

    This is my code:

    <?php wp_enqueue_script('jquery');?>
    <?php wp_enqueue_script('jquery-ui-core');?>
    <?php wp_enqueue_script('jquery-ui-tabs');?>
    <?php wp_head(); ?>

    As you can see I've put the code before the wp_head function.
    While jquery script load the other two does not load at all!
    What am I doing wrong?
    I'm using wordpress 3.0.4

    Hope someone can help,
    thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You don't need to load jQuery. It's already loaded by WP. Try reviewing some of the examples in http://codex.wordpress.org/Function_Reference/wp_enqueue_script

  3. RiodaV
    Member
    Posted 1 year ago #

    Thanks, but I've already review that page but I can't figure out a solution to my problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.