I have created a new 'Form for Editing Content', then I created a new 'Content Template' containing this form, but without assigning its usage to any post type. Next, I tried to add 'Edit Post Link' on the template that needs to have the 'Edit' button (this template is located under Layout). However, instead of getting a drop down list to choose the 'Content Template' that I created, I get the attached message.
That is a legacy plugin only intended for use on existing sites, but if you do have it active then it is presumed that you are using it everywhere, and it expects that your edit form would have been inserted into an unassigned layout (rather than an unassigned content template).
If you don't need it, disable Layouts.
We do have an internal ticket about streamlining this workflow so that you don't need to worry about inserting the form in an unassigned template beofre edit links can be created.
Layouts plugin is active and used on this particular website for other things too, hence can't deactivate it.
I have created aPost Edit Form, added the form to an Unassigned layout (instead of content template). Next I am trying to add the Edit Link to another layout template, that will lead to the Unassigned Layout that contains the Edit Form. But I am still getting the message attached to my first enquiry message.
Can you please provide some guidance on how to achieve this as you mention that 'an internal ticket about streamlining this workflow so that you don't need to worry about inserting the form in an unassigned template beofre edit links can be created.'?
I have managed to solve it by looking into it a little more! When creating the Unassigned Layout, I had to use a 'Post Form' field, instead of a 'Visual Editor' field to add the Edit Post Form...so that solved the issue I was having.