Make title field a textarea field

Hi there!

First of all what I’m trying to achieve: I want the title to be wrapped when you input text on the submit new/edit listing.

Currently the title gets cut off on the right side when it exceeds the input field. Therefore I thought about replacing the input field with a textarea field. But there is the problem that a user can make line breaks which I don’t like for the title.

What do you think? If you think it doesn’t matter could you please provide a snippet to transform the title field into a textarea field?

Thank you


Please try this PHP snippet:

	function( $form ) {
		$form['fields']['title']['type'] = 'textarea';

		return $form;

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.