Title: ryanfred's Replies | WordPress.org

---

# ryanfred

  [  ](https://wordpress.org/support/users/ryanfred/)

 *   [Profile](https://wordpress.org/support/users/ryanfred/)
 *   [Topics Started](https://wordpress.org/support/users/ryanfred/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ryanfred/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ryanfred/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ryanfred/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ryanfred/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ryanfred/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Inline Comments] Comments the same across all pages](https://wordpress.org/support/topic/comments-the-same-across-all-pages/)
 *  [ryanfred](https://wordpress.org/support/users/ryanfred/)
 * (@ryanfred)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comments-the-same-across-all-pages/#post-4751707)
 * Hi Dvana and kevinweber,
    I found a fix, but it may not be proper convention.
   I was getting the same problem.
 * The reason is that the `window.location.pathname` in the javascript (which is
   used to prepend each <p> identifier in new posts) was returning a solitary “/”
   for each paragraph. This resulted in the same paragraph identifiers across different
   posts, therefore the same comment threads were being loaded by Disqus.
 * As a fix, I simply edited the plugin javascript file to include `location.pathname`
   as the identifier prefix. This returns the end string of the permalink (I’m using
   post name permalinks, so I’m not sure if this solution will work with query string
   variables like ?p=3 etc.)
 * The lines I edited in the plugin’s javascript (“inlineDisqussions.js”) are lines
   83 & 86.
 * [@kevinweber](https://wordpress.org/support/users/kevinweber/), I’m not sure 
   if this is the best solution, as I don’t know the full complexity of your plugin,
   but it seems to be working well. Please advise if this edit is a mistake for 
   any reason.
 * Also, thanks for the stellar plugin. 🙂
 * EDIT: FYI, I’m using Chrome Version 33.0.1750.152
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [widgetising my theme – it works, but in widget panel they collapse?!](https://wordpress.org/support/topic/widgetising-my-theme-it-works-but-in-widget-panel-they-collapse/)
 *  [ryanfred](https://wordpress.org/support/users/ryanfred/)
 * (@ryanfred)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/widgetising-my-theme-it-works-but-in-widget-panel-they-collapse/#post-1852038)
 * Did you find the answer to this issue?
 * I saw your other post, but the solution didn’t work for me…
 * Thanks!

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