Skip Navigation

[Resolved] Columns and edit screen fields in post relationship

This thread is resolved. Here is a description of the problem and solution.

Problem:
Hide Columns and edit screen fields in post relationship box

Solution:
The only way to hide it is using the custom CSS.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/columns-and-edit-screen-fields-in-post-relationship/#post-919780

Relevant Documentation:

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

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Minesh 6 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#919507
Image2.png
Image1.png

I am trying to do this: https://toolset.com/forums/topic/how-to-remove-post-excerpt-column-from-post-relationship/

...but with the new changes in post-relationship functionality and UI this either works in a different way or it's not possible. In practice, I would like to remove the Title field from post-relationship meta box and edit screen when clicking Add New {related post type}. Code based solution is acceptable.

Thanks,
Boris

#919739

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I do not see a way to hide the title field from the post relationship meta box when you click to add new item.

Please allow me to consult our Devs and check with them if there is any way to achieve your goal.

#919780

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I check with our Devs and there is no way to remove the post title as its needed because you create a new post with that button and a post without a title is not worth.

However - the only way to hide it is using the custom CSS. You can use following CSS and add it using admin_head hook.

label[for=types-new-post-type-title],
#types-new-post-type-title {
    display: none;
}

More info:
=> hidden link
=> https://codex.wordpress.org/Plugin_API/Action_Reference/admin_head