Hi,
How can I change the order of the columns in WordPress back-end of a new CPT created by Toolset? F.e. I would like to have the date column at the end of the table for example and not second.
Second is that i like to rename or disable the title column like some third party plugin seem to do. Looks like title is a default column which can't be disabled from toolset settings? My CPT captures form submits without a title or subject.
And last but not least, how can I hide the permalink notification below the title in WordPress post detailpage for this CPT?
Thanks.
Hi there,
Thank you for contacting us and I'll be happy to assist.
You can go the settings for your custom post type (Toolset -> Post Types) and uncheck the "Title" option under the "Sections to display when editing", as shown in this screenshot:
hidden link
This will remove the title and the permalink/slug field from that post type's edit screen.
The Toolset plugins don't include a built-in feature to hide or re-order the default columns shown on the custom posts list screen.
But you can achieve that using either third-party plugins or custom code. Following are some useful resources on the topic:
https://wordpress.org/plugins/codepress-admin-columns/
hidden link
Since these columns are WordPress native feature, you can also consult WordPress development forums, for even more ideas and suggestions:
https://wordpress.org/support/forums/
https://wordpress.stackexchange.com/
I hope this helps.
regards,
Waqar
Hi Waqar,
Thanks a lot. I'll go with Admin Columns plugin for now:) I disabled the title option in Toolset and indeed the title and slug/permalink are gone now. I think I noticed, there's' a gap from the top that I guess shouldn't be there? Small detail. Please see the screenshot.
hidden link"><img src="hidden link" alt="Image from Gyazo" width="1099"/>
An alternative would be to post the value from the fields "firstname" & "lastname" combined as the post title for my form. How can I arrange that?
Thanks for writing back.
That empty space is there because WordPress automatically adds some top padding to the body section so that it is properly spaced from the title section above.
You can add custom CSS code to the admin area to remove/decrease that padding as needed. You can either use some custom code or a third-party plugin for this, too:
hidden link
https://wordpress.stackexchange.com/questions/110895/adding-custom-stylesheet-to-wp-admin
https://wordpress.org/plugins/add-admin-css/
To generate a post title automatically, you can use "save_post" ( ref: https://developer.wordpress.org/reference/hooks/save_post/ ) and the "wp_update_post" ( ref: https://codex.wordpress.org/Function_Reference/wp_update_post ) function.
Following thread has the relevant code's example:
https://toolset.com/forums/topic/update-post-title-when-saving-post/
For a more personalized assistance around the custom code, you can consider hiring a professional from our list of contractors:
https://toolset.com/contractors/
regards,
Waqar
My issue is resolved now. Thank you!