[Plugin: Simple Pull Quote] plugins_url() to avoid hard-coded 'wp-content' path
-
Hi Toby!
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:
http://codex.ww.wp.xz.cn/Editing_wp-config.php#Moving_wp-contentSee 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:
http://codex.ww.wp.xz.cn/Determining_Plugin_and_Content_DirectoriesAloha!
John
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Simple Pull Quote] plugins_url() to avoid hard-coded 'wp-content' path’ is closed to new replies.