No, i have an admin area with user posts and i want to lista posts of users and have a link to edit them but the shortcode to edit the post link doesn't work
I have also inserted the attribute with the content_template_slug
Do you mean you have admin area like My Account created on the frontend so user can see their post and edit the post using post edit link? If this is correct - Can you please share problem URL and access details to be used to login to admin (backend) as well as to login to frontend so that I can see the loggedin user posts.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
But - As you are using Elementor to build your single location posts, the normal Edit post link will not work but the edit form will not added with your single location post at the desired place.
So, I've added the following Edit link to your view:
=> hidden link