{"id":14207,"date":"2011-07-31T02:22:00","date_gmt":"2011-07-31T02:22:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/live-edit\/"},"modified":"2014-10-08T23:15:09","modified_gmt":"2014-10-08T23:15:09","slug":"live-edit","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/live-edit\/","author":6539712,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.4","stable_tag":"trunk","tested":"3.4.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Live Edit","header_author":"Elliot Condon","header_description":"","assets_banners_color":"","last_updated":"2014-10-08 23:15:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.elliotcondon.com\/","header_author_uri":"http:\/\/www.elliotcondon.com\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":15971,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"15"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538857","resolution":"1","location":"plugin"}},"screenshots":{"1":"The Live Edit Panel"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2239,27196,21110,581,23798],"plugin_category":[46,59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14207","plugin","type-plugin","status-closed","hentry","plugin_tags-edit","plugin_tags-end","plugin_tags-front","plugin_tags-live","plugin_tags-mange","plugin_category-editor-and-writing","plugin_category-utilities-and-tools","plugin_committers-elliotcondon"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/live-edit.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/live-edit\/trunk\/screenshot-1.png?rev=1538857","caption":"The Live Edit Panel"}],"raw_content":"<!--section=description-->\n<p>The Live Edit plugin provides a \"slide out\" panel to edit the title \/ content and any Advanced Custom Fields on any template file!\nInstead of automatically adding an \"edit\" button to the page or post, this plugin allow you to specify a \"region\" (div element) which can be edited. This means you can have multiple \"edit regions\" within the one template file.<\/p>\n\n<p>A good example of this is to imagine an archive page where multiple posts are shown. This plugin would allow you to quickly edit any visible post's fields!<\/p>\n\n<h4>Demo<\/h4>\n\n<p>[vimeo https:\/\/vimeo.com\/50590785]<\/p>\n\n<h4>Instructions<\/h4>\n\n<p>To create an \"editable region\", use the live_edit() function. This function is placed inside the tag where attributes can be created. eg:<\/p>\n\n&lt;div &gt;\n        <p>An edit buton will appear in this div! All HTML inside the div will update refresh after updated!<\/p>\n        <p>Field name 1: <\/p>\n    \n\n<h4>live_edit()<\/h4>\n\n<p>This function generates the atributes neccessary for the \"edit panel\" to work. It accepts 2 parameters:<\/p>\n\n<p><strong>$fields<\/strong> - An array or string (comma seperated list) of field names to show in the edit panel. To edit the post title use \"post_title\", to edit the post content use \"post_content\", to edit the post excerpt use \"post_excerpt\", for all ACF fields use \"$field_name\" - (required)<\/p>\n\n<p><strong>$post_id<\/strong> - A number refering to the post \/ page to save values against. This can be any $post_id value used in ACF. This includes: \"option\", \"user_$userID\", '$taxonomy_$term', 123. Defaults to current $post-&gt;ID - (optional)<\/p>\n\n<h4>if(function_exists(\"live_edit\"))<\/h4>\n\n<p>It is always good practise to wrap the live_edit() function in a conditional statement. This allows the plugin to be deativated without crashing your website. eg:<\/p>\n\n&lt;div class=&quot;somthing&quot; &gt;\n        <p>..<\/p>\n    \n\n<h4>Tested on<\/h4>\n\n<ul>\n<li>Mac Firefox   :)<\/li>\n<li>Mac Safari    :)<\/li>\n<li>Mac Chrome    :)<\/li>\n<li>PC Firefox    Not yet<\/li>\n<li>PC ie7        Not yet<\/li>\n<\/ul>\n\n<h4>Please Vote and Enjoy<\/h4>\n\n<p>Your votes really make a difference! Thanks.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload 'live-edit' to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Edit your theme templates and create \"editable regions\" with the live_edit() function<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>Security updates<\/li>\n<\/ul>\n\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>Fixed bug where the edit button would disappear after update<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Fixed bug preventing the live edit panel to close correctly<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fixed JS bug preventing AJAX update on multiple saves<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Added support for Advanced Custom Fields version 5<\/li>\n<li>Refreshed UI<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>[Updated] Updated all code to now be compatible with ACF v4 and above. If using v3.5.8.2 or below, please do not use this version, instead continue to use v1.0.4<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed issue where post_content, post_title and post_excerpt were not saving<\/li>\n<li>Fixed JS bug where the div would not AJAX update after the seccond save<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed compatibility issues with new ACF &gt; 3.5.5<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed bug where fields were not showing with ACF &gt; 3.5.0<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Original Commit<\/li>\n<\/ul>","raw_excerpt":"Edit the title, content and any ACF fields from the front end of your website!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14207"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/elliotcondon"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14207"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14207"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14207"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14207"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14207"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}