Skip Navigation

[Gelöst] Disable Add new button in relationships

This support ticket is created vor 6 Jahren, 1 Monat. 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.

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Stephen Vaughan vor 6 Jahren, 1 Monat.

Author
Artikel
#1130715
Remove-add-new-button.jpg

When assigning a parent to a child in the relationships panel on a post there are two options with buttons Add new... and Connect Existing...

Is there a way to disable the Add new option. I want to force users to only use parents that have only been created by the administrator.

I can always hide the button if there is no solution

#1130720

Update > It looks like hiding is a difficult because there is no class that can be targeted to just hide the Add new... button.

#1131058
#1131233

Thank's Beda,

I will go and vote this up.