Skip Navigation

[Resolved] Disable Add new button in relationships

This support ticket is created 6 years, 1 month ago. 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.

This topic contains 3 replies, has 2 voices.

Last updated by Stephen Vaughan 6 years, 1 month ago.

Author
Posts
#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.