[wp-hackers] Plugins and CSS - newbie question
John Blackbourn
johnbillion+wp at gmail.com
Fri Jun 18 12:21:33 UTC 2010
Hey Jan,
Please use the WordPress support forums at
http://wordpress.org/support/ for support requests in the future, this
mailing list is for advanced development discussion (hacking) and
WordPress core discussion.
That said, the function you actually need is wp_enqueue_style. A quick
Google should bring up many examples for you.
John
On Fri, Jun 18, 2010 at 1:12 PM, Jan Erik Moström <lists at mostrom.pp.se> wrote:
> I'm planning to re-write a plugin I use and I want to include some CSS
> with the plugin so I don't have to modify the theme CSS file. I did
> some searches and I think I should use the call 'wp_print_styles' to
> add the CSS ... but unfortunately I can't find any documentation of
> this call.
>
> Does anyone know where I can find this? (looking at the definition in
> source code didn't help me much unfortunately)
>
> (or should I do it some other way?)
>
> - jem
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list