Title: [Plugin: Simple Pull Quote] plugins_url() to avoid hard-coded &#039;wp-content&#039; path
Last modified: August 20, 2016

---

# [Plugin: Simple Pull Quote] plugins_url() to avoid hard-coded 'wp-content' path

 *  Resolved [John LeBlanc](https://wordpress.org/support/users/johnleblanc/)
 * (@johnleblanc)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/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.wordpress.org/Editing_wp-config.php#Moving_wp-content](http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content)
 * 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:
    [http://codex.wordpress.org/Determining_Plugin_and_Content_Directories](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories)
 * Aloha!
    John
 * [http://wordpress.org/extend/plugins/simple-pull-quote/](http://wordpress.org/extend/plugins/simple-pull-quote/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Toby Cryns (@themightymo)](https://wordpress.org/support/users/themightymo/)
 * (@themightymo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-pull-quote-plugins_url-to-avoid-hard-coded-wp-content-path/#post-2829188)
 * [@john](https://wordpress.org/support/users/john/) – Thanks for the suggestion!
   I will implement that in the next release.
 * Toby

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.

 * ![](https://ps.w.org/simple-pull-quote/assets/icon-256x256.png?rev=982362)
 * [Simple Pull Quote](https://wordpress.org/plugins/simple-pull-quote/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-pull-quote/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-pull-quote/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-pull-quote/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-pull-quote/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-pull-quote/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Toby Cryns (@themightymo)](https://wordpress.org/support/users/themightymo/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-pull-quote-plugins_url-to-avoid-hard-coded-wp-content-path/#post-2829188)
 * Status: resolved