ryanfred
Forum Replies Created
-
Forum: Plugins
In reply to: [Inline Comments] Comments the same across all pagesHi 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.pathnamein 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.pathnameas 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, 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
In reply to: widgetising my theme – it works, but in widget panel they collapse?!Did you find the answer to this issue?
I saw your other post, but the solution didn’t work for me…
Thanks!