{"id":55,"date":"2018-04-27T01:27:19","date_gmt":"2018-04-26T22:27:19","guid":{"rendered":"http:\/\/wds.gr\/sites\/?p=55"},"modified":"2018-04-27T01:27:36","modified_gmt":"2018-04-26T22:27:36","slug":"front-end-editor-for-wordpress","status":"publish","type":"post","link":"http:\/\/wds.gr\/sites\/blog\/front-end-editor-for-wordpress\/","title":{"rendered":"Front-end Editor for WordPress"},"content":{"rendered":"<h3>FEATURES<\/h3>\n<ul>\n<li>Draft and edit posts.<\/li>\n<li>Autosaves. Just publish when you\u2019re done.<\/li>\n<li>Contextual tools. Bold, italic, strikethrough, link, headings, lists and blockquote.<\/li>\n<li>Add media with the WordPress media library.<\/li>\n<li>Handy shortcuts for lists (*, \u2013 or 1.), blockquote (&gt;) and horizontal rule (\u2014).<\/li>\n<li>Automatically embed media from\u00a0<a href=\"https:\/\/codex.wordpress.org\/Embeds\" rel=\"nofollow\">this list<\/a>. Just paste the URL.<\/li>\n<li>You can also link text by just pasting the URL over it.<\/li>\n<li>Add a featured image, if your theme supports it.<\/li>\n<\/ul>\n<h3>CONFIGURE AND EXTEND<\/h3>\n<p>This plugin is designed to be \u201cplug and play\u201d, but also configurable and extensible.<\/p>\n<h4>TOOLBARS AND BUTTONS<\/h4>\n<p>You can add more buttons to any of the toolbars with the following filters:<\/p>\n<ul>\n<li><code>fee_toolbar_caret<\/code>\u00a0for the caret,<\/li>\n<li><code>fee_toolbar_inline<\/code>\u00a0for normal selections,<\/li>\n<li><code>fee_toolbar_block<\/code>\u00a0for block selections.<\/li>\n<\/ul>\n<p>E.g.<\/p>\n<pre><code>add_filter('fee_toolbar_inline', function($buttons){\r\n  return array_merge($buttons, array('subscript'));\r\n});\r\n<\/code><\/pre>\n<p>You may need to provide extra CSS and JS. See the\u00a0<a href=\"https:\/\/codex.wordpress.org\/TinyMCE_Custom_Buttons\" rel=\"nofollow\">Codex page<\/a>\u00a0and\u00a0<a href=\"https:\/\/www.tinymce.com\/docs\/advanced\/editor-control-identifiers\/#toolbarcontrols\" rel=\"nofollow\">TinyMCE docs<\/a>\u00a0for more information about adding toolbar buttons with TinyMCE.<\/p>\n<h4>LINKING TO THE EDITOR<\/h4>\n<p>You can link to the editor from anywhere on the website with the normal edit link to the admin, and it will be picked up by the plugin. Use\u00a0<code>edit_post_link<\/code>\u00a0or similar.<\/p>\n<h4>CUSTOM POST TYPES SUPPORT<\/h4>\n<pre><code>add_post_type_support( 'page', 'front-end-editor' );\r\n<\/code><\/pre>\n<p>Please make sure you also support the\u00a0<a href=\"http:\/\/v2.wp-api.org\/extending\/custom-content-types\/\" rel=\"nofollow\">REST API<\/a>.<\/p>\n<h4>DISABLE<\/h4>\n<p>If you\u2019d like to disable the editor for certain posts, you can use the\u00a0<code>supports_fee<\/code>\u00a0filter.<\/p>\n<hr \/>\n<blockquote class=\"wp-embedded-content\" data-secret=\"vF11ZEcmOd\"><p><a href=\"https:\/\/wordpress.org\/plugins\/wp-front-end-editor\/\">Front-end Editor for WordPress<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Front-end Editor for WordPress&#8221; &#8212; Plugin Directory\" src=\"https:\/\/wordpress.org\/plugins\/wp-front-end-editor\/embed\/#?secret=dP7yfg5P7e#?secret=vF11ZEcmOd\" data-secret=\"vF11ZEcmOd\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FEATURES Draft and edit posts. Autosaves. Just publish when you\u2019re done. Contextual tools. Bold, italic, strikethrough, link, headings, lists and blockquote. Add media with the WordPress media library. Handy shortcuts for lists (*, \u2013&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":40,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[16],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-free"],"_links":{"self":[{"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/posts\/55"}],"collection":[{"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":1,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":56,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/posts\/55\/revisions\/56"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/media\/40"}],"wp:attachment":[{"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wds.gr\/sites\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}