multiple instance widget and wp_print_styles
I have created a widget using the 2.8+ Widget API that extends the WP_Widget class. For each Widget instance, the user can select from multiple pre-defined .css styles. However, I have found no way to pass the selected style to the wp_print_styles hook using the wp_register_style, wp_enqueue_style method within the class.
Any ideas on how to allow each instance of a widget to load an assigned css style conditionally (once).
- The topic ‘multiple instance widget and wp_print_styles’ is closed to new replies.