[Plugin: Front-end Editor] prevent front-end editor working within specific div
-
Hi,
I was wondering if anyone had any pointers to help me solve an issue.
I’m building a website that allows logged-in users to edit, via the front end, posts within a specific category. Users can also view a “history” of that post, which is drawn up by displaying that post’s revisions.
However, I would like to be able to “turn off” the front-end editor for the post’s revisions, as these should remain as an un-editable history of the amendments to that post.
I have already used Scribu’s hack to restrict using the front-end editor to a specific category, but as the revisions of a post inherit the category of their parent post, this won’t work.
However, I am able to distinguish the revisions from the original post by using seperate div ids, so I was wondering if this might be a way to achieve a solution… By disabling the use of the front-end-editor within a specific div id or class.
Any suggestions as to how I might overcome this would be gratefully accepted, and I would be willing to donate some drinking funds to whoever might be able to solve this tricksy riddle of mine.
Xander
- The topic ‘[Plugin: Front-end Editor] prevent front-end editor working within specific div’ is closed to new replies.