Hi,
Thank you for sharing the duplicator package.
The edit link added on your "Listings" page ( /listings/ ) is doing it's part correctly, to take the visitor to the single listing's post URL with a parameter for the content template that holds the edit form, for example:
yourwebsite.com/list/kenneth-winston-newcastle/?content-template-id=3248
( "3248" is the ID of the content template "Template for Owners to edit their listings" which includes the form "Edit Listing" )
However, this content template is not showing when you visit this page through the edit link because you haven't assigned any Toolset content template to show the content of the single listing pages. Instead, you're using a single listing template from the Elementor, directly.
( yourwebsite.com/wp-admin/post.php?post=2463&action=elementor )
If you'll check our documentation on using Toolset with Elementor, our recommended approach is to design an Elementor template, and instead of assigning it to single post pages directly, you can show it through Elementor Blocks for Gutenberg inside the Toolset's content template, that is assigned to the single post pages:
https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/
In case for some reason, you'd like to continue using the current approach of using the Elementor template assigned to the listing posts directly, you can follow these steps, as a workaround:
1. In your Elementor single listing template, you can insert a new section at the very bottom with a "Text Editor" module. In the "text" mode, you can include the following code in it:
( screenshot: hidden link )
[wpv-conditional if=" ( ( '[wpv-search-term param='content-template-id']' = '3248' ) ) " ]
[wpv-post-body view_template="Template for Owners to edit their listings"]
[/wpv-conditional]
This code will conditionally load the "Template for Owners to edit their listings" content template with the edit form, only when the "content-template-id=3248" part is available in the URL.
After that, when you'll visit any single listings page like "yourwebsite.com/list/kenneth-winston-newcastle/", it will not show the edit form, but when you'll visit the same page with "content-template-id=3248" part in the URL like "yourwebsite.com/list/kenneth-winston-newcastle/?content-template-id=3248", the edit form will show at the bottom.
2. To hide all sections other than the edit form, when it is showing, you can include this custom CSS code in your "Template for Owners to edit their listings" content template:
( screenshot: hidden link )
.site-content .ast-container .elementor-location-single .elementor-section-wrap section {
display: none !important;
}
.site-content .ast-container .elementor-location-single .elementor-section-wrap section:last-of-type {
display: block !important;
}
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar