[Gelöst] how to remove a relationship in the Front-End for Connecting Posts
This support ticket is created vor 4 Jahren, 7 Monaten. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
how can I remove a relationship in the front end?
I can reconnect it on the back end (see image).
A user with a custom role is able to add a relationship (see image) at the front end, but not remove it.
From your screenshot place.jpg i'm assuming that you are using a Many to Many relationship because your image is similar to a Relationship form.
In this case you won't be able to edit/delete the post relationships on the frontend as this can only be done on the backend. he relationship forms can only create new relationships but not modify existing one.
Please let me know if this clears things up for you a bit.
This form (see my new image, I changed something) is on a partner page.
We made a custom role for partners. Each partner has his own page (and is also the author of his own page)
The partner can link a product (which he offers) to his page. He can't change "Jouw pagina".
It would be very inconvenient when he can't disconnect a product on the frontend. Any other ideas?
One more question... is there a possibility to make this (remove) conditional. That this is only visible on your own page as Partner?
I see it on all pages, although it works only on your own page. I tried some codes, but I did not succeed.
hi, it works,
but just a little typo:
[wpv-conditional if="('[wpv-post-author format='meta' meta='id']' eq '[wpv-current-user format='meta' info='id']' )"]