0

I have a custom post type named "news". The title field holds the raw news and i added another custom field that holds the published news. The published news field is a text area so i can use enter button when editing. Is there a way to make the title field behave like that, to edit in multiline?

thanks

0

You shouldn't really be using the title for chunks of content. That title is used for things like generating URLs, for example, and it could be used for all kinds of things by the theme and plugins. That is almost certainly going to cause trouble.

I'd suggest you register your post type without 'title' support and create a custom meta box for you "raw news", or just use the title for it is meant for-- a title.

To answer the question directly though, the markup that generates the title section is hard-coded. You can't alter it.

Related:

https://wordpress.stackexchange.com/a/105786/21376

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.