Just wanted to suggest an alternative to hard-coding ‘wp-content’ within your my_css() function, since the wp-content directory may be customized using constants:
See line 37 of simple-pull-quote.php. You might consider something more like this:
plugins_url( 'css/simple-pull-quote.css', __FILE__ )
Here’s some more info:
- The topic ‘[Plugin: Simple Pull Quote] plugins_url() to avoid hard-coded 'wp-content' path’ is closed to new replies.