Skip Navigation

[Résolu] Intermediary Post Type naming convention

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 2 réponses, has 2 voix.

Last updated by Stephen Vaughan Il y a 3 années et 3 mois.

Assigned support staff: Beda.

Auteur
Publications
#912498

I notice that when you use an intermediary post type with the option to show it in the menu, posts that get created are listed like so:

Intermediary Post Type: Parent-Post-ID - Parent-Post-ID

If possible it might be bette if they were listed as:

Intermediary Post Type: Parent-Post-Name - Parent-Post-Name

It would make it easier to identify specific posts where you need to track down an intermediary field that needs amending.

#912921

I assume that was decided so to make it easier to know their ID as that is what you would use in Code, or elsewhere, not the Title, which may be the same for several posts.

Would you not agree that it is cleaner for this "technical" intermediary object to show an ID, which reflects the "technical" usage of this Post Type?
You will rarely display or even reference to these posts, in the new relationship, but rather query and edit directly the related posts.

#912926
Intermediary-Post-Link.jpg

Ok, I see what you mean, if you need to work programatically with IDs, they are more specific and some end users could actually enter the same title twice by accident.

How about if on the post relationship meta box (see my screenshot) the column for the intermediary post type had a link to open the post for editing the field or even a pop up with the field for editing. Not sure if any of this is technically possible so will leave it with you ant the dev team.