{"id":6384,"date":"2016-02-11T20:40:29","date_gmt":"2016-02-12T01:40:29","guid":{"rendered":"https:\/\/themespress.ca\/?p=6384"},"modified":"2022-09-11T13:46:37","modified_gmt":"2022-09-11T17:46:37","slug":"edit-link-post-post-type","status":"publish","type":"post","link":"https:\/\/themespress.ca\/en\/edit-link-post-post-type\/","title":{"rendered":"Adding Edit Link for Post \/ Post type"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>This tutorial will show you how to add an Edit Link for Post \/ Post type Formidable Forms on Pages, Posts, Widgets.<\/p>\n<p>We can think of authors adding articles (Post ou Post_type) and in a template, you display all the articles from an author (<a href=\"https:\/\/themespress.ca\/query-post-type-par-auteur-wordpress\/\" target=\"_blank\" rel=\"noopener\">See tutorial<\/a>) i.e. the author will be able to see a list of his articles, but nothing from other authors.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Lien editer Entries Post \/ Post type Formidable Forms<\/h2>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>Here&#8217;s the shortcode required:<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<div id=\"ts-enlighterjs-container-2335478\" class=\"ts-enlighterjs-container-single-enabled  \" style=\"width: 100%;  margin-top: 0px; margin-bottom: 0px;\" data-enlighter-doubleclick=\"true\" data-enlighter-windowbutton=\"true\" data-enlighter-windowtext=\"New Window\" data-enlighter-rawbutton=\"true\" data-enlighter-rawtext=\"RAW Code\" data-enlighter-infobutton=\"false\" data-enlighter-infotext=\"EnlighterJS\" data-enlighter-indent=\"2\"><pre id=\"ts-enlighterjs-pre-2335478\" class=\"\" style=\"white-space: pre-wrap; height: 100%; margin: 0; padding: 0;\" data-enlighter-language=\"php\" data-enlighter-theme=\"enlighter\" data-enlighter-group=\"\" data-enlighter-title=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"1\" data-enlighter-highlight=\"\">&lt;?php echo do_shortcode(&#039;[frm-entry-edit-link id=current label=&quot;Editer&quot; page_id=1000]&#039;) ;?&gt;<\/pre><\/div>\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>So with this example we can see that you need to refer to the current ID and then ID that should refer to News form shortcode.<\/p>\n<p><strong>Result:<\/strong> You will then see an Edit link allowing authors the option to edit and update the pre-filled form.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_left wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"718\" height=\"358\" src=\"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro.jpg\" class=\"vc_single_image-img attachment-full\" alt=\"\" title=\"Lien editer Entries Post \/ Post type Formidable Forms\" srcset=\"https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro.jpg 718w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro-600x299.jpg 600w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro-300x150.jpg 300w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro-768x382.jpg 768w, https:\/\/themespress.ca\/wp-content\/uploads\/2017\/02\/wsi-imageoptim-lien-editer-formidable-pro-1320x658.jpg 1320w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p>The Edit links of Formidable forms are slightly different.<\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"This tutorial will show you how to add an Edit Link for Post \/ Post type Formidable Forms on Pages, Posts, Widgets. We can think of authors adding articles (Post<div class=\"read-more\"><a class=\"btn button-secondary\" href=\"https:\/\/themespress.ca\/en\/edit-link-post-post-type\/\">Read More<\/a><\/div>","protected":false},"author":81,"featured_media":4481,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[283],"tags":[351,318,313],"class_list":["post-6384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-forms","tag-functions","tag-plugins"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/comments?post=6384"}],"version-history":[{"count":0,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/posts\/6384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media\/4481"}],"wp:attachment":[{"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/media?parent=6384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/categories?post=6384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themespress.ca\/en\/wp-json\/wp\/v2\/tags?post=6384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}