{"id":6641545,"date":"2015-10-13T00:19:34","date_gmt":"2015-10-13T00:19:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/editable-front-end-link\/"},"modified":"2016-08-30T19:03:19","modified_gmt":"2016-08-30T19:03:19","slug":"editable-front-end-link","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/editable-front-end-link\/","title":{"rendered":"Editable front end link"},"content":{"rendered":"<p>Every time I update wordpress my editable fronted link disappears. It has done again today. <\/p>\n<p>How do I get around this?<\/p>\n<p>This time I am unable to get the link to work again. I have followed advice from here and here but to no avail:<\/p>\n<p>https:\/\/wordpress.org\/support\/topic\/edit-records-in-frontend-pdb_list<br \/>\nhttp:\/\/xnau.com\/adding-an-edit-record-link-to-the-frontend-list\/<\/p>\n<p>Any ideas on how to fix it and to stop it continuing to break? I have the following in my php-list-default.php file<\/p>\n<p>&lt;tbody&gt;<br \/>\n&lt;?php while ( $this-&gt;have_records() ) : $this-&gt;the_record(); \/\/ each record is one row ?&gt;<br \/>\n    &lt;?php $record = new PDb_Template($this); ?&gt;<br \/>\n  &lt;tr&gt;<br \/>\n    &lt;?php while( $this-&gt;have_fields() ) : $this-&gt;the_field(); \/\/ each field is one cell ?&gt;<br \/>\n      &lt;td class=&#8221;&lt;?php echo $this-&gt;field-&gt;name ?&gt;-field&#8221;&gt;<br \/>\n        &lt;?php<br \/>\n        if ($this-&gt;field-&gt;name == &#8216;edit_link&#8217;) {<br \/>\n          $this-&gt;field-&gt;link = $record-&gt;get_edit_link();<br \/>\n        }<br \/>\n        $this-&gt;field-&gt;print_value();<br \/>\n        ?&gt;<br \/>\n      &lt;\/td&gt;<br \/>\n  &lt;?php endwhile; \/\/ each field ?&gt;<br \/>\n  &lt;\/tr&gt;<br \/>\n&lt;?php endwhile; \/\/ each record ?&gt;<br \/>\n&lt;\/tbody&gt;<\/p>\n<p>https:\/\/wordpress.org\/plugins\/participants-database\/<\/p>\n","protected":false},"template":"","class_list":["post-6641545","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6641545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6641545\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6641545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}