WordPress.org

Ready to get started?Download WordPress

Forums

wp_enque_style (4 posts)

  1. thelonecabbage
    Member
    Posted 3 years ago #

    I'm writing (rewriting) my plugin to use

    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui-dialog');

    Which is great!

    But to use the dialog I need to load a jquery style sheet with wp_enqueue_style, is there a way to load a built-in style, similar to the way you can load the built in scripts (as seen above)? Or do I need to make a call to an external resource?

  2. elfin
    Moderator
    Posted 3 years ago #

  3. thelonecabbage
    Member
    Posted 3 years ago #

    I actually wrote that in my post. I know about the function, I'm using it.

    What I am asking is about BUILT-IN style handles to jquery-ui css. Or do I have to bind them externally?

  4. elfin
    Moderator
    Posted 3 years ago #

    Pretty sure you have to add them yourself.

Topic Closed

This topic has been closed to new replies.

About this Topic