Title: plugin path url issue
Last modified: August 22, 2016

---

# plugin path url issue

 *  Resolved [Matt Pritchett](https://wordpress.org/support/users/mrpritchett/)
 * (@mrpritchett)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-path-url-issue/)
 * The current wp_register_style function contains an incorrect path. You are using
   plugins_url but aren’t registering the actual directory of the plugin. My suggestion
   is to use plugin_dir_url( __FILE__ ) instead. That way it grabs the correct file
   URL and actually loads the necessary files. 🙂
 * [https://wordpress.org/plugins/gravity-forms-bootstrap-3-style/](https://wordpress.org/plugins/gravity-forms-bootstrap-3-style/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wpmeatpuppet](https://wordpress.org/support/users/wpmeatpuppet/)
 * (@wpmeatpuppet)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-path-url-issue/#post-5489564)
 * Hi
    Was wondering what the final result / code of your post was: [https://wordpress.org/support/topic/publish-post-id-as-the-post-title](https://wordpress.org/support/topic/publish-post-id-as-the-post-title)
 * I’m trying to get this done and struggling. Sorry for posting here – that thread
   is closed and the final working code wasn’t posted.
    Any help is appreciated.
   Thanks.
 *  Thread Starter [Matt Pritchett](https://wordpress.org/support/users/mrpritchett/)
 * (@mrpritchett)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-path-url-issue/#post-5489566)
 * I’m no longer with that organization, but let me reach out to them and see if
   I can get access to that particular snippet. I was making it way more complicated
   than necessary, as I recall.
 *  Plugin Author [Andy Brudtkuhl](https://wordpress.org/support/users/abrudtkuhl/)
 * (@abrudtkuhl)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-path-url-issue/#post-5489598)
 * This has been fixed in the latest version just released

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘plugin path url issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-bootstrap-3-style_e9eeef.
   svg)
 * [Bootstrap Gravity Forms](https://wordpress.org/plugins/gravity-forms-bootstrap-3-style/)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-bootstrap-3-style/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-bootstrap-3-style/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-bootstrap-3-style/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-bootstrap-3-style/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Andy Brudtkuhl](https://wordpress.org/support/users/abrudtkuhl/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-path-url-issue/#post-5489598)
 * Status: resolved