Code in Textarea
-
Hi, Great Plugin!
I want to allow users to upload code in a simple textarea field. it works great except the meta field is “striped” to one line something like this:
wp_register_script( ‘slick’, get_stylesheet_directory_uri() . ‘/slick.min.js’, array( ‘jquery’ ), ‘1.0.0’, true );
I want to be able to leave the input structure of the text area as is like:
wp_register_script(
‘slick’, get_stylesheet_directory_uri() . ‘/slick.min.js’, array( ‘jquery’ ), ‘1.0.0’, true
);
any suggestions?
- The topic ‘Code in Textarea’ is closed to new replies.