Create dynamic css with php in a plugin?
-
Hi!
I am currently creating a wordpress plugin with an image slider based on the jCarousel jQuery. In this plugin the user can create several custom slideshows and use a shortcode to display it in a post or a page. The plugin works fine but I have one question. I would like to let the user style the slideshows and control that style with a stylesheet genererated with php from the database. Now I′m thinking about the best way to do that? If I add a php stylesheet to the plugin I can′t use wordpress functions without require wp-load.php. Is there another way to solve this issue in a plugin?
My question is: Whats the best way to use a dynamic stylesheet with php in a wordpress plugin?
- The topic ‘Create dynamic css with php in a plugin?’ is closed to new replies.