See image for details:
Url to be redirected (back-end page edit): wp-admin/edit.php?post_type=pageCode:base.prototype.pre_edit_button = function() { var _this = this; return jQuery('<button>', { 'class': 'fee-hover-edit', 'html': FrontEndEditor.data.edit_text, 'click': function(ev) { _this.last_mouse_pos = ev.pageY; return _this.start_editing(); } });
My lame try:
I know nothing of PHP/jQuery/Javascript, it didn't show up anything, but at least script kept runningCode:}, base.prototype.edit_button = function () { var _this = this; return jQuery("<?php edit_post_link( __( 'Full Edit',) ?> ", { })
Notes:
edit_post_link is a wordpress function that redirects to the full-editing of the current page. I won't use it, I'll just try to redirect to that url mentioned above.



Reply With Quote
Bookmarks