Sauter la navigation

[Résolu] Disable Add new button in relationships

This support ticket is created Il y a 6 années et 2 mois. 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.

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Stephen Vaughan Il y a 6 années et 2 mois.

Auteur
Publications
#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.